]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospf6d/ospf6_interface.c
*: Convert zapi->interface_delete to ifp callback
[mirror_frr.git] / ospf6d / ospf6_interface.c
index d4f3f25ac0459b4610074b48aa9bf6497ef24fc6..e62efc5a0d352098e5d3fff4e1cce772655a43d8 100644 (file)
@@ -1976,6 +1976,14 @@ static int ospf6_ifp_down(struct interface *ifp)
 
 static int ospf6_ifp_destroy(struct interface *ifp)
 {
+       if (if_is_up(ifp))
+               zlog_warn("Zebra: got delete of %s, but interface is still up",
+                         ifp->name);
+
+       if (IS_OSPF6_DEBUG_ZEBRA(RECV))
+               zlog_debug("Zebra Interface delete: %s index %d mtu %d",
+                          ifp->name, ifp->ifindex, ifp->mtu6);
+
        return 0;
 }