public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/eselect-iptables:master commit in: src/
@ 2022-03-20 21:28 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-03-20 21:28 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-20 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-20 21:28 [gentoo-commits] proj/eselect-iptables:master commit in: src/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox