diff options
author | Neale Ranns <nranns@cisco.com> | 2018-09-05 09:13:57 -0700 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2018-09-25 16:29:19 +0000 |
commit | b474380f82b75d9640f9bf6ee78c891a6794dbfb (patch) | |
tree | 1deee7eda6675a9886ddebb4a38249110f67170d /src/vnet/gre | |
parent | 6a30b5f9182a44989e97bbc044f29adccdef09b2 (diff) |
L2 BD: introduce a BD interface on which to send UU packets
Change-Id: I21ad6b04c19c8735d057174b1f260a59f2812241
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/gre')
-rw-r--r-- | src/vnet/gre/interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/gre/interface.c b/src/vnet/gre/interface.c index 0215f9b0860..181a908022b 100644 --- a/src/vnet/gre/interface.c +++ b/src/vnet/gre/interface.c @@ -423,7 +423,8 @@ vnet_gre_tunnel_delete (vnet_gre_add_del_tunnel_args_t * a, vnet_sw_interface_set_flags (vnm, sw_if_index, 0 /* down */ ); /* make sure tunnel is removed from l2 bd or xconnect */ - set_int_l2_mode (gm->vlib_main, vnm, MODE_L3, sw_if_index, 0, 0, 0, 0); + set_int_l2_mode (gm->vlib_main, vnm, MODE_L3, sw_if_index, 0, + L2_BD_PORT_TYPE_NORMAL, 0, 0); gm->tunnel_index_by_sw_if_index[sw_if_index] = ~0; if (t->type == GRE_TUNNEL_TYPE_L3) |