Diff for /embedaddon/quagga/zebra/interface.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/10/09 09:22:29 version 1.1.1.3, 2013/07/21 23:54:41
Line 1297  ip_address_uninstall (struct vty *vty, struct interfac Line 1297  ip_address_uninstall (struct vty *vty, struct interfac
                safe_strerror(errno), VTY_NEWLINE);                 safe_strerror(errno), VTY_NEWLINE);
       return CMD_WARNING;        return CMD_WARNING;
     }      }
     /* success! call returned that the address deletion went through.
      * this is a synchronous operation, so we know it succeeded and can
      * now update all internal state. */
   
#if 0  /* the HAVE_NETLINK check is only here because, on BSD, although the
  /* Redistribute this information. */   * call above is still synchronous, we get a second confirmation later
  zebra_interface_address_delete_update (ifp, ifc);   * through the route socket, and we don't want to touch that behaviour
    * for now.  It should work without the #ifdef, but why take the risk...
    * -- equinox 2012-07-13 */
 #ifdef HAVE_NETLINK
   
   /* Remove connected route. */    /* Remove connected route. */
   connected_down_ipv4 (ifp, ifc);    connected_down_ipv4 (ifp, ifc);
   
     /* Redistribute this information. */
     zebra_interface_address_delete_update (ifp, ifc);
   
     /* IP address propery set. */
     UNSET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
   
     /* remove from interface, remark secondaries */
     if_subnet_delete (ifp, ifc);
   
   /* Free address information. */    /* Free address information. */
   listnode_delete (ifp->connected, ifc);    listnode_delete (ifp->connected, ifc);

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>