From 9e6aec76878c146302ceaf054de0b2c24453d821 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 10 Sep 2020 13:06:39 -0700 Subject: [PATCH] Correct usage of $physwild, replacing with $wildcard Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Zones.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index 44124e973..054ae938b 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -1540,7 +1540,7 @@ sub process_interface( $$ ) { zones => {}, origin => shortlineinfo( '' ), wildcard => $wildcard, - physwild => $physwild, + physwild => $physwild, #Currently unused }; $interfaces{$physical} = $interfaceref if $physical ne $interface; @@ -1941,7 +1941,7 @@ sub find_interfaces_by_option( $;$ ) { my $interfaceref = $interfaces{$interface}; next unless $interfaceref->{root}; # Don't return '+' interface - next if $procinterfaceoptions{$option} && $interfaceref->{physwild}; # Ignore /proc options on wildcard interface + next if $procinterfaceoptions{$option} && $interfaceref->{wildcard}; # Ignore /proc options on wildcard interface my $optionsref = $interfaceref->{options}; if ( $nonzero ) { @@ -2400,7 +2400,7 @@ sub generate_all_acasts() { my $interfaceref = $interfaces{$interface}; my $physical = $interfaceref->{physical}; - if ( $interfaceref->{physwild} ) { + if ( $interfaceref->{wildcard} ) { $physical =~ s/\+/*/; if ( $interfaceref->{options}{omitanycast} ) {