From c1c292e777e16547defd1e7003c1e17801a442f0 Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Fri, 3 Jan 2020 15:34:44 -0800 Subject: [PATCH] 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 --- zebra/zebra_vxlan.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 564573dcb3..bfec0bb58b 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -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; }