From 18a6dce6f83dd20caf1f36c8e840868ff0bf6dbd Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 3 Oct 2004 18:18:34 +0000 Subject: Common router id. --- zebra/redistribute.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'zebra/redistribute.c') diff --git a/zebra/redistribute.c b/zebra/redistribute.c index 6dd3bd2a..100a824e 100644 --- a/zebra/redistribute.c +++ b/zebra/redistribute.c @@ -35,6 +35,7 @@ #include "zebra/zserv.h" #include "zebra/redistribute.h" #include "zebra/debug.h" +#include "zebra/router-id.h" /* master zebra server structure */ extern struct zebra_t zebrad; @@ -387,6 +388,8 @@ zebra_interface_address_add_update (struct interface *ifp, p->prefixlen, ifc->ifp->name); } + router_id_add_address(ifc); + for (node = listhead (zebrad.client_list); node; nextnode (node)) if ((client = getdata (node)) != NULL) if (client->ifinfo && CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL)) @@ -411,6 +414,8 @@ zebra_interface_address_delete_update (struct interface *ifp, p->prefixlen, ifc->ifp->name); } + router_id_del_address(ifc); + for (node = listhead (zebrad.client_list); node; nextnode (node)) if ((client = getdata (node)) != NULL) if (client->ifinfo && CHECK_FLAG (ifc->conf, ZEBRA_IFC_REAL)) -- cgit v1.2.1