From c5868ef6e41a202fd862bf2b612bbe7e1eb017f9 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Tue, 27 Dec 2011 13:01:27 -0800 Subject: [PATCH] Revert "Remove redundant check." This reverts commit 53dd13cf15a52a20af1a7d6ae9d01faae03ffa69. --- Shorewall/Perl/Shorewall/Raw.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Shorewall/Perl/Shorewall/Raw.pm b/Shorewall/Perl/Shorewall/Raw.pm index 35932c756..af70825f1 100644 --- a/Shorewall/Perl/Shorewall/Raw.pm +++ b/Shorewall/Perl/Shorewall/Raw.pm @@ -76,6 +76,7 @@ sub process_notrack_rule( $$$$$$$ ) { if ( $option eq 'helper' ) { fatal_error "Invalid helper' ($args)" if $args =~ /,/; + fatal_error "A protocol protocol is required in CT:helper rules" if $proto eq '-'; validate_helper( $args, $proto ); $action = "CT --helper $args"; $exception_rule = do_proto( $proto, '-', '-' );