Bug 212336 - vale-ctl -l fails without argument
Summary: vale-ctl -l fails without argument
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 11.0-RC1
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2016-09-02 17:25 UTC by Thaddeus Covert
Modified: 2016-09-06 17:09 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Thaddeus Covert 2016-09-02 17:25:46 UTC
Running 'vale-ctl -l' passes a null as an argument. Workaround is
'vale-ctl -l ""', to list all vale interfaces.

Building vale switch to test netmap.
vale-ctl -h vale1:bridge0

vale-ctl -l
vale-ctl: option requires an argument -- l
bad option ? (null)Usage:
vale-ctl arguments
        -g interface    interface name to get info
        -d interface    interface name to be detached
        -a interface    interface name to be attached
        -h interface    interface name to be attached with the host stack
        -n interface    interface name to be created
        -r interface    interface name to be deleted
        -l list all or specified bridge's interfaces (default)
        -C string ring/slot setting of an interface creating by -n

vale-ctl -l ""
bdg_ctl [149] bridge:0 port:0 vale1:bridge0
bdg_ctl [149] bridge:0 port:1 vale1:bridge0^