mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-11 17:00:51 +01:00
Handling missing 'min' in connbytes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8428 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
8761025201
commit
3d3f0a71c5
@ -1326,7 +1326,7 @@ sub do_connbytes( $ ) {
|
||||
|
||||
|
||||
my $invert = $1 || ''; $invert = '! ' if $invert;
|
||||
my $min = $2 || '';
|
||||
my $min = $2; $min = 0 unless defined $min;
|
||||
my $max = $3 || ''; fatal_error "Invalid byte range ($min:$max)" if $max ne '' and $min > $max;
|
||||
my $dir = $5 || 'B';
|
||||
my $mode = $6 || 'B';
|
||||
|
Loading…
Reference in New Issue
Block a user