]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge: rename and export print_portstate
authorNikolay Aleksandrov <nikolay@nvidia.com>
Sun, 18 Apr 2021 12:01:32 +0000 (15:01 +0300)
committerDavid Ahern <dsahern@kernel.org>
Thu, 22 Apr 2021 05:13:09 +0000 (05:13 +0000)
commitf07516c3b0c33cee34e2a93dad1046f7c2c04313
tree26ed9fdfdb5fe8422fef890bf62c64f6b0f42e03
parentff619e4fd3706f064a0325fcc70f811fb3027b85
bridge: rename and export print_portstate

Rename print_portstate to print_stp_state in preparation for use by vlan
code as well (per-vlan state), and export it. To be in line with the new
naming rename also port_states to stp_states as they'll be used for
vlans, too.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
bridge/br_common.h
bridge/link.c