From 6b38b3a515aa1c893ddb843a20dc124cf533f37d Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 12 Nov 2016 08:25:38 -0800 Subject: [PATCH] Revert "More IPv6 routing cleanup" This reverts commit 1e7f63834c5808c68d65d195a396e1ac2c6a5997. --- Shorewall/Perl/Shorewall/Providers.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 9b4c78b2a..32e8a37ca 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -969,6 +969,11 @@ CEOF $metrics = 1; } + emit( qq(\n) , + qq(if ! \$IP -6 rule ls | egrep -q "32767:[[:space:]]+from all lookup (default|253)"; then) , + qq( qt \$IP -6 rule add from all table $providers{default}->{id} prio 32767\n) , + qq(fi) ) if $family == F_IPV6; + unless ( $tproxy ) { emit '';