Initialize $physwild to $wildcard

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2017-12-22 15:42:16 -08:00
parent cfd02c1bb6
commit 17f4fd7cd2
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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};