diff --git a/netbench.pl b/netbench.pl index 0b505a9..de81ee4 100755 --- a/netbench.pl +++ b/netbench.pl @@ -210,6 +210,7 @@ sub start_server_udp { my ($proc) = @_; my $timeout = 1; + $timeout += $opts{d} if defined($opts{d}); $timeout += $opts{i} if defined($opts{i}); $timeout += $opts{t} if defined($opts{t}); my @cmd = ('udpbench');