From 870f6130ee7b8ef989e20cd0019a9196227fa4c1 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 18 Mar 2017 12:39:33 -0700 Subject: [PATCH] Set $parmsmodified on ?reset Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Config.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index 253e6bb71..ff16c98b3 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -2962,10 +2962,11 @@ sub process_compiler_directive( $$$$ ) { } else { delete $actparams{$var} } + + $parmsmodified = PARMSMODIFIED; } else { directive_warning( 'Yes', "Shorewall variable $2 does not exist", $filename, $linenumber ); } - } else { if ( exists $variables{$2} ) { delete $variables{$2};