From 2512407d3790155e67dd7e1133a47703c51501b0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 20 Mar 2022 21:17:40 +0000 Subject: 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 --- 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 -- cgit v1.2.3-65-gdbad