summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_vrf.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-02-05 16:30:21 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-02-27 11:11:24 +0100
commit736d41ad74f1135256ece64873fb261164ed03e0 (patch)
tree4023c0fdffab276ae7435be815e359abb7104d96 /zebra/zebra_vrf.h
parentlib: split logicalrouter and vrf netns feature (diff)
downloadfrr-736d41ad74f1135256ece64873fb261164ed03e0.tar.xz
frr-736d41ad74f1135256ece64873fb261164ed03e0.zip
zebra: adapt the vrf and logical router initialisation
The zebra daemon introduces the logical router initialisation. Because right now, the usage of logical router and vrf NETNS is exclusive, then the logical router and VRF are initialised accordingly. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zebra_vrf.h')
-rw-r--r--zebra/zebra_vrf.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/zebra/zebra_vrf.h b/zebra/zebra_vrf.h
index ae5a17411..4c12d7dee 100644
--- a/zebra/zebra_vrf.h
+++ b/zebra/zebra_vrf.h
@@ -19,10 +19,9 @@
* with this program; see the file COPYING; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#if !defined(__ZEBRA_RIB_H__)
-#define __ZEBRA_RIB_H__
+#if !defined(__ZEBRA_VRF_H__)
+#define __ZEBRA_VRF_H__
-#include <lib/ns.h>
#include <zebra/zebra_ns.h>
#include <zebra/zebra_pw.h>
#include <lib/vxlan.h>
@@ -169,4 +168,4 @@ extern void zebra_vrf_init(void);
extern void zebra_rtable_node_cleanup(struct route_table *table,
struct route_node *node);
-#endif
+#endif /* ZEBRA_VRF_H */