summaryrefslogtreecommitdiff
path: root/zebra/rtread_sysctl.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-02-01 10:55:42 -0800
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-02-01 10:55:42 -0800
commit12f6fb97311c58742f305ef240f918aa5d57fa79 (patch)
tree47ba71dd454d8c1d7a110845f5a2743428d20d26 /zebra/rtread_sysctl.c
parent244a59d22809d9a4a3bc555764e71aa4aff299bf (diff)
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/rtread_sysctl.c')
-rw-r--r--zebra/rtread_sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rtread_sysctl.c b/zebra/rtread_sysctl.c
index 2a9601a304..d74eef6c5a 100644
--- a/zebra/rtread_sysctl.c
+++ b/zebra/rtread_sysctl.c
@@ -32,7 +32,7 @@
/* Kernel routing table read up by sysctl function. */
void
-route_read (struct zebra_vrf *zvrf)
+route_read (struct zebra_ns *zns)
{
caddr_t buf, end, ref;
size_t bufsiz;
@@ -49,7 +49,7 @@ route_read (struct zebra_vrf *zvrf)
0
};
- if (zvrf->vrf_id != VRF_DEFAULT)
+ if (zns->ns_id != NS_DEFAULT)
return;
/* Get buffer size. */