iproute2/bridge
Alex Pilon 6b8c871dc1 Allow specifying bridge port STP state by name rather than number.
The existing behaviour forces one to memorize the integer constants for
STP port states.

    # bridge link set dev dummy0 state 3

This patch makes it possible to use the lowercased port state name.

    # bridge link set dev dummy0 state forwarding

Invalid non-integer inputs now cause exit with status -1.

Signed-off-by: Alex Pilon <alp@alexpilon.ca>
2015-02-24 15:59:44 -08:00
..
.gitignore Add bridge command 2012-08-01 15:23:49 -07:00
Makefile bridge: Allow to easy change network namespace 2014-12-27 10:22:32 -08:00
br_common.h iproute2: bridge vlan show new option to print ranges 2015-02-05 10:46:31 -08:00
bridge.c iproute2: bridge vlan show new option to print ranges 2015-02-05 10:46:31 -08:00
fdb.c bridge/fdb: display link netns id 2015-02-21 16:54:53 -08:00
link.c Allow specifying bridge port STP state by name rather than number. 2015-02-24 15:59:44 -08:00
mdb.c bridge: Make filter_index match in signedness 2014-06-09 12:40:45 -07:00
monitor.c Use one func to print timestamp from nlmsg 2015-01-13 17:34:47 -08:00
vlan.c iproute2: bridge vlan show new option to print ranges 2015-02-05 10:46:31 -08:00