summaryrefslogtreecommitdiff
path: root/zebra/ioctl.c
diff options
context:
space:
mode:
authorDenis Ovsienko <linux@pilot.org.ua>2008-02-26 14:02:24 +0000
committerDenis Ovsienko <linux@pilot.org.ua>2008-02-26 14:02:24 +0000
commit20e5ff0a8893ffad6d31739d68d224931c4a7992 (patch)
tree8ecd9184d2d7268e0fc51bcd612790301780efda /zebra/ioctl.c
parentdea04441fb51f74dc25f6ab4bd756b4159d961b6 (diff)
+ 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 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);