forked from extern/shorewall_code
Fix zone-less interface handling
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9157 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
7e56d56b4e
commit
b6c1153809
@ -592,6 +592,8 @@ sub use_forward_chain($) {
|
||||
return 1 if $interfaceref->{nets} > 1;
|
||||
|
||||
my $zone = $interfaceref->{zone};
|
||||
|
||||
return 1 unless $zone;
|
||||
#
|
||||
# Interface associated with a single zone -- Must use the interface chain if
|
||||
# the zone has multiple interfaces
|
||||
@ -631,6 +633,8 @@ sub use_input_chain($) {
|
||||
return 0 unless $nets;
|
||||
|
||||
my $zone = $interfaceref->{zone};
|
||||
|
||||
return 1 unless $zone;
|
||||
#
|
||||
# Interface associated with a single zone -- Must use the interface chain if
|
||||
# the zone has multiple interfaces
|
||||
|
Loading…
Reference in New Issue
Block a user