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:
teastep 2008-04-19 17:23:59 +00:00
parent 8985536d4b
commit b268776cd6

View File

@ -456,7 +456,7 @@ sub process_routestopped() {
my $desti = match_dest_dev $interface;
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;