From 6f04902963970946dc25dedb06d0f0ef302911bb Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 14 Mar 2016 17:55:54 -0700 Subject: [PATCH] Make use of 'state=' in actions a fatal error Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index f64d6a031..31ccfd004 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -2070,7 +2070,7 @@ sub process_actions() { if ( $file eq 'actions.std' ) { $state = $1; } else { - warning_message( q(The 'state' option is ignored in the actions file) ); + fatal_error( q(The 'state' option is reserved for use in the actions.std file) ); } } else { fatal_error "Invalid option ($_)" unless $options{$_};