On 01/07/2013 06:32 PM, Tom Eastep wrote:
> On 01/07/2013 05:00 PM, Steven Jan Springl wrote:

>>
>> Arprules entry:
>>
>> DMATC  eth0:1.1.1.1  -  1
>>
>> Produces the following error message:
>>
>> ERROR: Invalid ACTION (DMATC) /etc/shorewall2A11/arprules (line 21)
> 
> Patch ARPRULES2.patch also corrects this problem.

Although adding ARPRULES3.patch produces a clearer error message.

Thanks,
-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________
diff --git a/Shorewall/Perl/Shorewall/ARP.pm b/Shorewall/Perl/Shorewall/ARP.pm
index b8f4411..1fcad2c 100644
--- a/Shorewall/Perl/Shorewall/ARP.pm
+++ b/Shorewall/Perl/Shorewall/ARP.pm
@@ -122,7 +122,7 @@ sub process_arprule() {
     if ( supplied $newaddr ) {
        fatal_error "The $action ACTION does not allow a new address" unless 
$action =~ /^(?:SNAT|DNAT|SMAT|DMAT)C?$/;
     } else {
-       fatal_error "The $action ACTION requires a new address" if $action =~ 
/^SNAT|DNAT|SMAT|DMAT$/;
+       fatal_error "The $action ACTION requires a new address" if $action =~ 
/^(?:SNAT|DNAT|SMAT|DMAT)C?$/;
     }
 
     my $function = $functions{$action};

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to