From b00dc658b2c9c0e6518c56a594ccb87a3946e3f5 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 15 Oct 2012 07:17:17 -0700 Subject: [PATCH] Correct error messages in action.RST Signed-off-by: Tom Eastep --- Shorewall/action.RST | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/action.RST b/Shorewall/action.RST index 30c5e4c37..043d670f1 100644 --- a/Shorewall/action.RST +++ b/Shorewall/action.RST @@ -38,8 +38,8 @@ use Shorewall::Chains; my ( $action, $audit ) = get_action_params( 2 ); -fatal_error "Invalid parameter ($audit) to action NotSyn" if supplied $audit && $audit ne 'audit'; -fatal_error "Invalid parameter ($action) to action NotSyn" unless $action =~ /^(?:ACCEPT|DROP)$/; +fatal_error "Invalid parameter ($audit) to action RST" if supplied $audit && $audit ne 'audit'; +fatal_error "Invalid parameter ($action) to action RST" unless $action =~ /^(?:ACCEPT|DROP)$/; my $chainref = get_action_chain; my ( $level, $tag ) = get_action_logging;