mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-24 07:08:53 +01:00
parent
1c2ab238a5
commit
c5868ef6e4
@ -76,6 +76,7 @@ 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