forked from extern/shorewall_code
Remove redundant check.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6db8748ee8
commit
53dd13cf15
@ -75,7 +75,6 @@ sub process_notrack_rule( $$$$$$$ ) {
|
|||||||
|
|
||||||
if ( $option eq 'helper' ) {
|
if ( $option eq 'helper' ) {
|
||||||
fatal_error "Invalid helper' ($args)" if $args =~ /,/;
|
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 );
|
validate_helper( $args, $proto );
|
||||||
$action = "CT --helper $args";
|
$action = "CT --helper $args";
|
||||||
$exception_rule = do_proto( $proto, '-', '-' );
|
$exception_rule = do_proto( $proto, '-', '-' );
|
||||||
|
Loading…
Reference in New Issue
Block a user