diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-01 10:55:42 -0800 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-02-01 10:55:42 -0800 |
| commit | 12f6fb97311c58742f305ef240f918aa5d57fa79 (patch) | |
| tree | 47ba71dd454d8c1d7a110845f5a2743428d20d26 /zebra/if_sysctl.c | |
| parent | 244a59d22809d9a4a3bc555764e71aa4aff299bf (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/if_sysctl.c')
| -rw-r--r-- | zebra/if_sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/if_sysctl.c b/zebra/if_sysctl.c index 3e23954dcd..d2a506e329 100644 --- a/zebra/if_sysctl.c +++ b/zebra/if_sysctl.c @@ -93,7 +93,7 @@ ifstat_update_sysctl (void) /* Interface listing up function using sysctl(). */ void -interface_list (struct zebra_vrf *zvrf) +interface_list (struct zebra_ns *zns) { caddr_t ref, buf, end; size_t bufsiz; @@ -110,9 +110,9 @@ interface_list (struct zebra_vrf *zvrf) 0 }; - if (zvrf->vrf_id != VRF_DEFAULT) + if (zns->ns_id != NS_DEFAULT) { - zlog_warn ("interface_list: ignore VRF %u", zvrf->vrf_id); + zlog_warn ("interface_list: ignore NS %u", zns->ns_id); return; } |
