diff options
author | pilot <pilot> | 2008-02-26 14:02:24 +0000 |
---|---|---|
committer | pilot <pilot> | 2008-02-26 14:02:24 +0000 |
commit | c3c92461eb41baadaac3549ad5a99646b3184999 (patch) | |
tree | c4fffce5f87d3ecb9dc01bb5f7a6b270fc626b61 /zebra/ioctl.c | |
parent | d52692651a02f3343c756e06da62265e37f6f473 (diff) | |
download | quagga-c3c92461eb41baadaac3549ad5a99646b3184999.tar.bz2 quagga-c3c92461eb41baadaac3549ad5a99646b3184999.tar.xz |
+ fix bug#326 by rib_lookup_and_pushup()
Diffstat (limited to 'zebra/ioctl.c')
-rw-r--r-- | zebra/ioctl.c | 1 |
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); |