forked from extern/shorewall_code
Allow fractional delays in TC
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a29dbf4ff8
commit
28ab3749ca
@ -1002,7 +1002,7 @@ sub convert_delay( $ ) {
|
||||
my $delay = shift;
|
||||
|
||||
return 0 unless $delay;
|
||||
return $1 if $delay =~ /^(\d+)(ms)?$/;
|
||||
return $1 if $delay =~ /^(\d+(\.\d+)?)(ms)?$/;
|
||||
fatal_error "Invalid Delay ($delay)";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user