summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-20 21:17:40 +0000
committerSam James <sam@gentoo.org>2022-03-20 21:18:37 +0000
commit2512407d3790155e67dd7e1133a47703c51501b0 (patch)
tree12241481073e50be11081fa696f1b8feb6dcd492
parentinitial commit (diff)
downloadeselect-iptables-20220320.tar.gz
eselect-iptables-20220320.tar.bz2
eselect-iptables-20220320.zip
iptables.eselect: assume IPv6 is enabled if missing USE flagHEAD20220320master
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@gentoo.org>
-rw-r--r--src/iptables.eselect2
1 files changed, 1 insertions, 1 deletions
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