summaryrefslogtreecommitdiffstats
path: root/src/plugins/lldp/lldp_node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lldp/lldp_node.c')
-rw-r--r--src/plugins/lldp/lldp_node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lldp/lldp_node.c b/src/plugins/lldp/lldp_node.c
index dbb54af91f0..d4b6d529d9b 100644
--- a/src/plugins/lldp/lldp_node.c
+++ b/src/plugins/lldp/lldp_node.c
@@ -220,7 +220,7 @@ lldp_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f)
#endif
if (event_data)
{
- _vec_len (event_data) = 0;
+ vec_set_len (event_data, 0);
}
}