]> git.ipfire.org Git - thirdparty/iproute2.git/commit
bridge: link: allow filtering on bridge name
authorNicolas Escande <nico.escande@gmail.com>
Wed, 26 Jul 2023 07:25:07 +0000 (09:25 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Wed, 26 Jul 2023 16:11:33 +0000 (09:11 -0700)
commit13a5d8fcb41bbc5875c0a6c150236208eadd3936
tree5ad2d5f6aa79853791f4432729f27fcdad84dd1f
parent0a0a8f12fa1b03dd0ccbebf5f85209d1c8a0f580
bridge: link: allow filtering on bridge name

When using 'brige link show' we can either dump all links enslaved to any bridge
(called without arg ) or display a single link (called with dev arg).
However there is no way to dummp all links of a single bridge.

To do so, this adds new optional 'master XXX' arg to 'bridge link show' command.
usage: bridge link show master br0

Signed-off-by: Nicolas Escande <nico.escande@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
bridge/link.c