Include all in valid src/dest for rule on non-routers

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4007 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
paulgear 2006-06-07 05:39:56 +00:00
parent 76e15b17a9
commit 347705c543

View File

@ -69,7 +69,7 @@ sub fatal
{ {
mesg "FATAL", @_; mesg "FATAL", @_;
++$ret; ++$ret;
exit $RET; exit $ret;
} }
sub message sub message
@ -363,7 +363,10 @@ for my $infile ("$conf.COMMON", "$conf.$host", "$conf") {
# If host is not a router, either the source or destination zone # If host is not a router, either the source or destination zone
# must be the firewall itself. # must be the firewall itself.
if (!$router) { if (!$router) {
next unless $src eq $fw or $dst eq $fw; next unless $src eq $fw
or $dst eq $fw
or $src eq "all"
or $dst eq "all";
} }
# Save additional WARN/BAN rules # Save additional WARN/BAN rules