diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 5de8e6204..7b5f83914 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -1032,7 +1032,7 @@ sub handle_stickiness( $ ) { $rule2 = ''; } - $rule1 =~ s/-A //; + assert( $rule1 =~ s/-A // ); add_rule $chainref, $rule1; if ( $rule2 ) {