commit: 2512407d3790155e67dd7e1133a47703c51501b0 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Mar 20 21:17:40 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 20 21:18:37 2022 +0000 URL: https://gitweb.gentoo.org/proj/eselect-iptables.git/commit/?id=2512407d
iptables.eselect: assume IPv6 is enabled if missing USE flag In 174ce77f31336d5d8c9a4af20dfa7d31e2c55ca5 in ::gentoo, we dropped USE=ipv6 from iptables. We need to adapt eselect-iptables for that. Closes: https://bugs.gentoo.org/835613 Signed-off-by: Sam James <sam <AT> gentoo.org> src/iptables.eselect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iptables.eselect b/src/iptables.eselect index 7a62722..77b28db 100644 --- a/src/iptables.eselect +++ b/src/iptables.eselect @@ -78,7 +78,7 @@ get_symlinks_list() { iptables) printf -- '%s\n' "${IPTABLES_SYMLINKS[@]}" - if [[ ${1} == -a ]] || has_version 'net-firewall/iptables[ipv6]' + if [[ ${1} == -a ]] || has_version 'net-firewall/iptables[ipv6(+)]' then printf -- '%s\n' "${IP6TABLES_SYMLINKS[@]}" fi
