Skip to content

Commit

Permalink
Bind tcpbench server on address in netbench.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluhm committed Oct 22, 2023
1 parent 0e04fbf commit e9095eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbench.pl
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ sub start_server_tcp {
$timeout += $opts{t} if defined($opts{t});
my @cmd = ('tcpbench', '-s');
unshift @cmd, ('timeout', $timeout) if $opts{t};
push @cmd, "-b$proc->{addr}";
push @cmd, "-p$proc->{port}";
push @cmd, "-S$opts{b}" if defined($opts{b});
unshift @cmd, ('ssh', '-nT', $proc->{ssh}) if $proc->{ssh};
Expand Down

0 comments on commit e9095eb

Please sign in to comment.