diff --git a/Shorewall/Perl/Shorewall/Zones.pm b/Shorewall/Perl/Shorewall/Zones.pm index e73490f96..5c04690e8 100644 --- a/Shorewall/Perl/Shorewall/Zones.pm +++ b/Shorewall/Perl/Shorewall/Zones.pm @@ -925,7 +925,7 @@ sub process_interface( $$ ) { } if ( $zone eq 'FORMAT' ) { - if ( $originalinterface =~ /^[12]$/ ) { + if ( $originalinterface =~ /^([12])$/ ) { $format = $1; return; }