summaryrefslogtreecommitdiffstats
path: root/zebra/ioctl.c
diff options
context:
space:
mode:
authorDenis Ovsienko <linux@pilot.org.ua>2008-02-26 15:02:24 +0100
committerDenis Ovsienko <linux@pilot.org.ua>2008-02-26 15:02:24 +0100
commit20e5ff0a8893ffad6d31739d68d224931c4a7992 (patch)
tree8ecd9184d2d7268e0fc51bcd612790301780efda /zebra/ioctl.c
parent[c++] remove/rename some names in headers that clash with C++ reserved words (diff)
downloadfrr-20e5ff0a8893ffad6d31739d68d224931c4a7992.tar.xz
frr-20e5ff0a8893ffad6d31739d68d224931c4a7992.zip
+ fix bug#326 by rib_lookup_and_pushup()
Diffstat (limited to 'zebra/ioctl.c')
-rw-r--r--zebra/ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/ioctl.c b/zebra/ioctl.c
index 7bb4da1f0..d536771a1 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);