diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-09-23 08:45:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-23 08:45:09 +0300 |
| commit | 0ce5baaab1cefb0cd89cd526ab5225cd3a58a921 (patch) | |
| tree | b2107db6725811ab8e04468adc7317d22c631c0d /zebra/zebra_ns.c | |
| parent | efdd997dad76b534826701bbc2145abcd1945f83 (diff) | |
| parent | 1eb92f06c4e39a47a82ae585cfb276497843de6c (diff) | |
Merge pull request #7018 from gouault6wind/show_ip_route
Clean up in vrf management
Diffstat (limited to 'zebra/zebra_ns.c')
| -rw-r--r-- | zebra/zebra_ns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_ns.c b/zebra/zebra_ns.c index 6462daf687..e9ff3fcc08 100644 --- a/zebra/zebra_ns.c +++ b/zebra/zebra_ns.c @@ -199,7 +199,7 @@ int zebra_ns_init(const char *optional_default_name) if (ns) ns->relative_default_ns = ns_id; - default_ns = ns_lookup(ns_get_default_id()); + default_ns = ns_lookup(NS_DEFAULT); if (!default_ns) { flog_err(EC_ZEBRA_NS_NO_DEFAULT, "%s: failed to find default ns", __func__); |
