mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-11 08:08:12 +01:00
Initialize $physwild to $wildcard
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
cfd02c1bb6
commit
17f4fd7cd2
@ -1219,7 +1219,7 @@ sub process_interface( $$ ) {
|
||||
my $root;
|
||||
|
||||
if ( $interface =~ /\+$/ ) {
|
||||
$wildcard = 1;
|
||||
$wildcard = $physwild = 1; # Default physical name is the logical name
|
||||
$root = substr( $interface, 0, -1 );
|
||||
$roots{$root} = $interface;
|
||||
my $len = length $root;
|
||||
@ -1270,8 +1270,6 @@ sub process_interface( $$ ) {
|
||||
my %hostoptions = ( dynamic => 0 );
|
||||
|
||||
for my $option (split_list1 $options, 'option' ) {
|
||||
next if $option eq '-';
|
||||
|
||||
( $option, my $value ) = split /=/, $option;
|
||||
|
||||
fatal_error "Invalid Interface option ($option)" unless my $type = $validinterfaceoptions{$option};
|
||||
|
Loading…
Reference in New Issue
Block a user