Fix FORMAT-2 interfaces

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2012-02-21 16:41:56 -08:00
parent 20f990f2eb
commit 2624005fa8

View File

@ -925,7 +925,7 @@ sub process_interface( $$ ) {
}
if ( $zone eq 'FORMAT' ) {
if ( $originalinterface =~ /^[12]$/ ) {
if ( $originalinterface =~ /^([12])$/ ) {
$format = $1;
return;
}