summaryrefslogtreecommitdiffstats
path: root/lib/vrf.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-11-21 14:46:08 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-11-21 17:21:19 +0100
commit4fe52e76226a37eb998991491ac635eac7024167 (patch)
treedc14fa2645104351d46621dd070cb66385be0f8d /lib/vrf.h
parentMerge pull request #3363 from pacovn/static_analysis__ISO_C_return_compliance (diff)
downloadfrr-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vrf.h b/lib/vrf.h
index 3bc88e610..fe4fc7725 100644
--- a/lib/vrf.h
+++ b/lib/vrf.h
@@ -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()