diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-10-02 13:34:40 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2020-05-18 14:11:03 +0200 |
commit | 9d3555e06ccc68fe37e0a00100029ac4bad8dee2 (patch) | |
tree | 2d280fa3fda993385d84e074f0cb20b0aaab4fab /lib/vrf.h | |
parent | zebra, lib: add an internal API to get relative default nsid in other ns (diff) | |
download | frr-9d3555e06ccc68fe37e0a00100029ac4bad8dee2.tar.xz frr-9d3555e06ccc68fe37e0a00100029ac4bad8dee2.zip |
zebra, lib: store relative default ns id in each namespace
to be able to retrieve the network namespace identifier for each
namespace, the ns id is stored in each ns context. For default
namespace, the netns id is the same as that value.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/vrf.h')
-rw-r--r-- | lib/vrf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -315,7 +315,7 @@ extern int vrf_handler_create(struct vty *vty, const char *name, */ extern int vrf_netns_handler_create(struct vty *vty, struct vrf *vrf, char *pathname, ns_id_t ext_ns_id, - ns_id_t ns_id); + ns_id_t ns_id, ns_id_t rel_def_ns_id); /* used internally to enable or disable VRF. * Notify a change in the VRF ID of the VRF |