diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-01 19:55:42 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-01 19:55:42 +0100 |
commit | 12f6fb97311c58742f305ef240f918aa5d57fa79 (patch) | |
tree | 47ba71dd454d8c1d7a110845f5a2743428d20d26 /zebra/ioctl.c | |
parent | zebra: Add the 'struct zebra_ns' data structure (diff) | |
download | frr-12f6fb97311c58742f305ef240f918aa5d57fa79.tar.xz frr-12f6fb97311c58742f305ef240f918aa5d57fa79.zip |
lib, zebra: The Bulk of the conversion over to NS and VRF
Convert the rest of zebra over to use a Namespae and VRF.
Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/ioctl.c')
-rw-r--r-- | zebra/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/ioctl.c b/zebra/ioctl.c index d783b0a38..24df98557 100644 --- a/zebra/ioctl.c +++ b/zebra/ioctl.c @@ -196,7 +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); + rib_lookup_and_pushup (p, ifp->vrf_id); memset (&addreq, 0, sizeof addreq); strncpy ((char *)&addreq.ifra_name, ifp->name, sizeof addreq.ifra_name); |