mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 17:44:38 +00:00
zebra: Show IPv6 link-local interfaces under show interface
output
Despite if it's managed by FRR or the kernel, show it. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
02f8cf7769
commit
f95479b150
@ -2762,8 +2762,7 @@ static void if_dump_vty(struct vty *vty, struct interface *ifp)
|
||||
}
|
||||
|
||||
frr_each (if_connected, ifp->connected, connected) {
|
||||
if (CHECK_FLAG(connected->conf, ZEBRA_IFC_REAL)
|
||||
&& (connected->address->family == AF_INET6))
|
||||
if (connected->address->family == AF_INET6)
|
||||
connected_dump_vty(vty, NULL, connected);
|
||||
}
|
||||
|
||||
@ -3139,8 +3138,7 @@ static void if_dump_vty_json(struct vty *vty, struct interface *ifp,
|
||||
}
|
||||
|
||||
frr_each (if_connected, ifp->connected, connected) {
|
||||
if (CHECK_FLAG(connected->conf, ZEBRA_IFC_REAL)
|
||||
&& (connected->address->family == AF_INET6))
|
||||
if (connected->address->family == AF_INET6)
|
||||
connected_dump_vty(vty, json_addrs, connected);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user