]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: fix debug in macvlan down event
authorChirag Shah <chirag@cumulusnetworks.com>
Fri, 3 Jan 2020 23:34:44 +0000 (15:34 -0800)
committerChirag Shah <chirag@cumulusnetworks.com>
Fri, 10 Jan 2020 19:15:36 +0000 (11:15 -0800)
fix a debug where display parent interface name
only if it exists.

Ticket:CM-27733

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
zebra/zebra_vxlan.c

index 564573dcb3ad12239485085b18eb5ea127f88ba9..bfec0bb58b3a81780ff6ef3d78a4aed81256322a 100644 (file)
@@ -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;
        }