Skip to content

Commit

Permalink
argument typo -p
Browse files Browse the repository at this point in the history
```
-p portnum,locport (*)
Direct the control connection to a netserver listening on the specified port, rather than using a "netperf" entry in /etc/services or the internal default (port 12865). If ",locport" is specified the control connection will be established from that local port number. Specifying a single port number with no comma will specify only the remote netserver port number and will leave local port number selection to the stack.
-P 0|1
Show (1) or suppress (0) the test banner.
```
  • Loading branch information
mukrishn authored Nov 9, 2023
1 parent 10fbdeb commit 90ab2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/netperf/netperf.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func Run(c *kubernetes.Clientset, rc rest.Config, nc config.Config, client apiv1
"--",
"-k", fmt.Sprint(omniOptions),
"-m", fmt.Sprint(nc.MessageSize),
"-P", fmt.Sprint(ServerDataPort),
"-p", fmt.Sprint(ServerDataPort),
"-R", "1"}
} else {
cmd = []string{"bash", "super-netperf", strconv.Itoa(nc.Parallelism), "-H",
Expand Down

0 comments on commit 90ab2bd

Please sign in to comment.