Bug 212336

Summary: vale-ctl -l fails without argument
Product: Base System Reporter: Thaddeus Covert <tcovert+freebsd>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me    
Priority: ---    
Version: 11.0-RC1   
Hardware: amd64   
OS: Any   

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^