Add the --exits option to ADD with timeout

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-10-15 16:43:04 -07:00
parent ef0253905a
commit 047b5ca6d5
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -2893,7 +2893,7 @@ sub process_rule ( $$$$$$$$$$$$$$$$$$$$ ) {
fatal_error "A timeout may only be supplied in an ADD rule" unless $basictarget eq 'ADD';
fatal_error "Invalid Timeout ($timeout)" unless $timeout && $timeout =~ /^\d+$/;
$action .= " --timeout $timeout";
$action .= " --timeout $timeout --exist";
}
}
}