mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-24 03:31:24 +02:00
Fix routestopped with ADMINISABSENTMINDED=No
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8440 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8985536d4b
commit
b268776cd6
@ -456,7 +456,7 @@ sub process_routestopped() {
|
|||||||
my $desti = match_dest_dev $interface;
|
my $desti = match_dest_dev $interface;
|
||||||
|
|
||||||
emit "\$IPTABLES -A INPUT $sourcei $source -j ACCEPT";
|
emit "\$IPTABLES -A INPUT $sourcei $source -j ACCEPT";
|
||||||
emit "\$IPTABLES -A OUTPUT $desti $dest -j ACCEPT" if $config{ADMINISABSENTMINDED};
|
emit "\$IPTABLES -A OUTPUT $desti $dest -j ACCEPT" unless $config{ADMINISABSENTMINDED};
|
||||||
|
|
||||||
my $matched = 0;
|
my $matched = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user