Page MenuHomePhabricator

"monitor bandwidth-test initiate" command fails with an "option requires an argument" error
Closed, ResolvedPublicBUG

Description

Hey,
Seems like the monitor bandwidth-test function also needs an update

Server-side (works fine):

vyos@vyos:~$ monitor bandwidth-test accept
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------

Client-side (missing arguments):

vyos@vyos:~$ monitor bandwidth-test initiate 10.0.0.2
iperf: option requires an argument -- c
Usage: iperf [-s|-c host] [options]
Try `iperf --help' for more information.

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.2.0-RC6
Why the issue appeared?
Implementation mistake
MrFunken created this task.Nov 11 2018, 5:23 PM
syncer triaged this task as Low priority.

The argument number in the command definition was wrong.

dmbaturin renamed this task from monitor bandwidth-test initiate - missing arguments to "monitor bandwidth-test initiate" command fails with a "missing arguments" error.Mon, Nov 12, 12:31 AM
dmbaturin claimed this task.
dmbaturin closed this task as Resolved.
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.
dmbaturin renamed this task from "monitor bandwidth-test initiate" command fails with a "missing arguments" error to "monitor bandwidth-test initiate" command fails with an "option requires an argument" error.