summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-05-31 21:23:37 -0700
committerNeale Ranns <nranns@cisco.com>2018-06-03 02:21:26 +0000
commite8d7ff5f876c3950caf1bacf603d79b9ada8aef2 (patch)
tree10b614cc85422e6e6f111cd2b67504969444dc70 /extras
parentba614d63a8dabaf95f012323c5f9bfba4a23f5cf (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 'extras')
-rw-r--r--extras/vom/vom/interface_cmds.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/extras/vom/vom/interface_cmds.cpp b/extras/vom/vom/interface_cmds.cpp
index 49a24c1301b..f7ddd7e34cf 100644
--- a/extras/vom/vom/interface_cmds.cpp
+++ b/extras/vom/vom/interface_cmds.cpp
@@ -723,6 +723,7 @@ set_tag::issue(connection& con)
auto& payload = req.get_request().get_payload();
payload.is_add = 1;
payload.sw_if_index = m_hw_item.data().value();
+ memset(payload.tag, 0, sizeof(payload.tag));
memcpy(payload.tag, m_name.c_str(), m_name.length());
VAPI_CALL(req.execute());