mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 01:37:59 +02:00
Revert "Remove redundant check."
This reverts commit 53dd13cf15a52a20af1a7d6ae9d01faae03ffa69.
This commit is contained in:
parent
1c2ab238a5
commit
c5868ef6e4
@ -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, '-', '-' );
|
||||
|
Loading…
x
Reference in New Issue
Block a user