From 41633b4fac2d49ff50b18a6c0088807bb04acbc1 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 20 Apr 2008 20:45:27 +0000 Subject: [PATCH] Fix silly typo in RE git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8468 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Chains.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-perl/Shorewall/Chains.pm b/Shorewall-perl/Shorewall/Chains.pm index dc5a41258..e5cd324a1 100644 --- a/Shorewall-perl/Shorewall/Chains.pm +++ b/Shorewall-perl/Shorewall/Chains.pm @@ -1194,7 +1194,7 @@ sub mac_match( $ ) { $mac =~ s/^!// if my $invert = ( $1 ? '! ' : ''); $mac =~ tr/-/:/; - fatal_error "Invalid MAC address ($mac)" unless $mac =~ /^(?:[0-9a-fA-f]{2}:){5}[0-9a-fA-f]{2}$/; + fatal_error "Invalid MAC address ($mac)" unless $mac =~ /^(?:[0-9a-fA-F]{2}:){5}[0-9a-fA-F]{2}$/; "--match mac --mac-source ${invert}$mac "; }