]> git.proxmox.com Git - mirror_iproute2.git/commit
bridge: mdb: print protocol when available
authorNikolay Aleksandrov <nikolay@nvidia.com>
Thu, 8 Oct 2020 13:50:24 +0000 (16:50 +0300)
committerDavid Ahern <dsahern@gmail.com>
Mon, 12 Oct 2020 02:07:50 +0000 (20:07 -0600)
commit86588450c54e68e4351899d7139f20013f0f2e09
treef4a1569e9e13ac15781ac7b3839ba27d4d353721
parent2de81d1eff2a7f588541d567dd9536584aa939ed
bridge: mdb: print protocol when available

Print the mdb entry's protocol (i.e. who added it)  when it's available if
the user requested to show details (-d). Currently the only possible
values are RTPROT_STATIC (user-space added) or RTPROT_KERNEL
(automatically added by kernel). The value is kernel controlled.

Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
bridge/mdb.c