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>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| br_common.h | ||
| bridge.c | ||
| fdb.c | ||
| link.c | ||
| mdb.c | ||
| monitor.c | ||
| vlan.c | ||