mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-01 21:33:02 +02:00
Handle printing a vlan filtering bridge in "show interfaces".
Example output:
br0 bridge DOWN vlan:10u,20t
│ ipv4 192.168.1.1/24 (static)
├ e0 bridge DISABLED vlan:10u,20t pvid:10
└ e1 bridge DISABLED vlan:10t,20u pvid:20
br1 bridge
└ e2 bridge FORWARDING vlan:30u pvid:30
e3 ethernet UP 02:00:00:00:00:03
ipv6 fe80::ff:fe00:3/64 (link-layer)
e4 ethernet UP 02:00:00:00:00:04
ipv6 fe80::ff:fe00:4/64 (link-layer)
lo ethernet UP 00:00:00:00:00:00
ipv4 127.0.0.1/8 (static)
ipv6 ::1/128 (static)
Signed-off-by: Richard Alpe <richard@bit42.se>