From 20e5ff0a8893ffad6d31739d68d224931c4a7992 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Tue, 26 Feb 2008 14:02:24 +0000 Subject: + fix bug#326 by rib_lookup_and_pushup() --- zebra/ioctl.c | 1 + 1 file changed, 1 insertion(+) (limited to 'zebra/ioctl.c') diff --git a/zebra/ioctl.c b/zebra/ioctl.c index 7bb4da1f..d536771a 100644 --- a/zebra/ioctl.c +++ b/zebra/ioctl.c @@ -196,6 +196,7 @@ if_set_prefix (struct interface *ifp, struct connected *ifc) struct prefix_ipv4 *p; p = (struct prefix_ipv4 *) ifc->address; + rib_lookup_and_pushup (p); memset (&addreq, 0, sizeof addreq); strncpy ((char *)&addreq.ifra_name, ifp->name, sizeof addreq.ifra_name); -- cgit v1.2.3