diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2018-05-31 21:23:37 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2018-06-03 02:21:26 +0000 |
commit | e8d7ff5f876c3950caf1bacf603d79b9ada8aef2 (patch) | |
tree | 10b614cc85422e6e6f111cd2b67504969444dc70 /src/vnet | |
parent | ba614d63a8dabaf95f012323c5f9bfba4a23f5cf (diff) |
Interface Tag: memset field in VOM, clear the tag in VPP on interface delete
Change-Id: Id97de732b5952d5d86202e7749c9e81cf8dbed87
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vnet')
-rw-r--r-- | src/vnet/interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c index d85d864839e..9300074927d 100644 --- a/src/vnet/interface.c +++ b/src/vnet/interface.c @@ -670,6 +670,7 @@ vnet_delete_sw_interface (vnet_main_t * vnm, u32 sw_if_index) if (config->xconnect || config->bridge) set_int_l2_mode (vm, vnm, MODE_L3, sw_if_index, 0, 0, 0, 0); } + vnet_clear_sw_interface_tag (vnm, sw_if_index); /* Bring down interface in case it is up. */ if (sw->flags != 0) |