mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 15:47:22 +00:00
zebra: fix debug in macvlan down event
fix a debug where display parent interface name only if it exists. Ticket:CM-27733 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
d8744f7247
commit
c1c292e777
@ -8624,9 +8624,8 @@ void zebra_vxlan_macvlan_down(struct interface *ifp)
|
||||
struct interface *ifp;
|
||||
|
||||
ifp = if_lookup_by_index_all_vrf(zif->link_ifindex);
|
||||
zlog_debug("macvlan %s parent link is not found. Parent index %d ifp %s",
|
||||
ifp->name, zif->link_ifindex,
|
||||
ifp ? ifp->name : " ");
|
||||
zlog_debug("macvlan parent link is not found. Parent index %d ifp %s",
|
||||
zif->link_ifindex, ifp ? ifp->name : " ");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user