Zhang Shengju
6a9ce30e78
ip-link: remove unnecessary return
...
Remove unnecessary retrun, because invarg() exit.
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
2015-08-13 14:12:33 -07:00
Nikolay Aleksandrov
fdba05155c
iplink: add ageing_time, stp_state and priority for bridge
...
When showing bridge attributes, show also ageing_time, stp_state and
priority if available.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
2015-08-12 09:11:30 -07:00
Zhang Shengju
43367ef7eb
iplink: use the short format to print help info
...
Allow to print link type usage by: ip link help bridge
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
2015-08-12 09:05:57 -07:00
Nikolay Aleksandrov
b0197a047e
iplink_bridge: add support for priority
...
This patch adds support to set bridge stp priority via IFLA_BR_PRIORITY.
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
2015-06-26 00:06:45 -04:00
Nikolay Aleksandrov
dab049628a
iplink_bridge: add support for stp_state
...
This patch adds support to set stp_state via IFLA_BR_STP_STATE.
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
2015-06-26 00:06:45 -04:00
Nikolay Aleksandrov
6c99fb6076
iplink_bridge: add support for ageing_time
...
This patch adds support to set ageing_time via IFLA_BR_AGEING_TIME.
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
2015-06-26 00:06:45 -04:00
Jiri Pirko
28d84b429e
add bridge master device support
...
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
2014-09-28 16:33:29 -07:00