diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-11-21 14:46:08 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-11-21 17:21:19 +0100 |
commit | 4fe52e76226a37eb998991491ac635eac7024167 (patch) | |
tree | dc14fa2645104351d46621dd070cb66385be0f8d /lib/vrf.h | |
parent | Merge pull request #3363 from pacovn/static_analysis__ISO_C_return_compliance (diff) | |
download | frr-4fe52e76226a37eb998991491ac635eac7024167.tar.xz frr-4fe52e76226a37eb998991491ac635eac7024167.zip |
lib, zebra: default vrf configured will not be overwritten by discovery
the netns discovery process executed when vrf backend is netns, allows
the zebra daemon to dynamically change the default vrf name value. This
option is disabled, when the zebra is forced to a default vrf value with
option -o.
PR=61513
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Acked-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Diffstat (limited to 'lib/vrf.h')
-rw-r--r-- | lib/vrf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -236,7 +236,7 @@ extern vrf_id_t vrf_get_default_id(void); /* The default VRF ID */ #define VRF_DEFAULT vrf_get_default_id() -extern void vrf_set_default_name(const char *default_name); +extern void vrf_set_default_name(const char *default_name, bool force); extern const char *vrf_get_default_name(void); #define VRF_DEFAULT_NAME vrf_get_default_name() |