forked from extern/shorewall_code
Fix required/optional interface with physical eq '+'
This commit is contained in:
parent
9568a6ef59
commit
997a697a65
@ -817,7 +817,7 @@ sub chain_base($) {
|
||||
$chain =~ s/\+$//;
|
||||
$chain =~ tr/./_/;
|
||||
|
||||
if ( $chain =~ /^[0-9]/ || $chain =~ /[^\w]/ ) {
|
||||
if ( $chain eq '' || $chain =~ /^[0-9]/ || $chain =~ /[^\w]/ ) {
|
||||
#
|
||||
# Must map. Remove all illegal characters
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user