]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/rt_netlink.c
ptm-integration.patch
[mirror_frr.git] / zebra / rt_netlink.c
index 290c8bc282bbf9cbf86901e12126cf03e6feae8b..ea2d42ab3ba7040ee6174d1803a8e6f6d6b49b1a 100644 (file)
@@ -1114,12 +1114,12 @@ netlink_link_change (struct sockaddr_nl *snl, struct nlmsghdr *h)
 
           netlink_interface_update_hw_addr (tb, ifp);
 
-          if (if_is_operative (ifp))
+          if (if_is_no_ptm_operative (ifp))
             {
               ifp->flags = ifi->ifi_flags & 0x0000fffff;
-              if (!if_is_operative (ifp))
+              if (!if_is_no_ptm_operative (ifp))
                 if_down (ifp);
-             else
+             else if (if_is_operative (ifp))
                /* Must notify client daemons of new interface status. */
                zebra_interface_up_update (ifp);
             }