aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/map/map.c
diff options
context:
space:
mode:
authorJon Loeliger <jdl@netgate.com>2019-01-03 17:12:59 -0600
committerOle Trøan <otroan@employees.org>2019-01-07 21:30:11 +0000
commit2500c79423c7d8d35b4e7b8f50060c09f2f857be (patch)
treeec443acb90a8b5d0a738e84ec2aee393b31513dd /src/plugins/map/map.c
parentceebc1e71598349ee37b25cd82fe7533760d670a (diff)
MAP: Prevent duplicate MAP-E/T graph nodes.
Change-Id: I6031f3f9cfa048a901a8424d33d47679115c2eb3 Signed-off-by: Jon Loeliger <jdl@netgate.com>
Diffstat (limited to 'src/plugins/map/map.c')
-rw-r--r--src/plugins/map/map.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/map/map.c b/src/plugins/map/map.c
index 1ce3b6faeec..6b15ee1919e 100644
--- a/src/plugins/map/map.c
+++ b/src/plugins/map/map.c
@@ -2256,6 +2256,9 @@ map_init (vlib_main_t * vm)
mm->ip6_prefix_tbl = lpm_table_init (LPM_TYPE_KEY128);
mm->ip6_src_prefix_tbl = lpm_table_init (LPM_TYPE_KEY128);
+ mm->bm_trans_enabled_by_sw_if = 0;
+ mm->bm_encap_enabled_by_sw_if = 0;
+
error = map_plugin_api_hookup (vm);
return error;