mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 18:51:24 +02:00
Make Shorewall's handling of '+' consistent with that of iptables
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
5d5bef105a
commit
d0861e813b
@ -1575,9 +1575,7 @@ sub known_interface($)
|
|||||||
#
|
#
|
||||||
# We have wildcard interfaces -- see if this interface matches one of their roots
|
# We have wildcard interfaces -- see if this interface matches one of their roots
|
||||||
#
|
#
|
||||||
while ( length $iface > $minroot ) {
|
while ( length $iface >= $minroot ) {
|
||||||
chop $iface;
|
|
||||||
|
|
||||||
if ( my $i = $roots{$iface} ) {
|
if ( my $i = $roots{$iface} ) {
|
||||||
#
|
#
|
||||||
# Found one
|
# Found one
|
||||||
@ -1599,6 +1597,8 @@ sub known_interface($)
|
|||||||
};
|
};
|
||||||
return $interfaceref;
|
return $interfaceref;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chop $iface;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user