aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-08-31 11:14:28 +0000
committerMohsin Kazmi <sykazmi@cisco.com>2022-08-31 11:14:28 +0000
commit6556a9944f291851a583e86ff7d8613e25c7f39e (patch)
tree1f1a047d35cc76cb4c66d7d5011aaa5a40915618 /src/vnet
parent89733a15ce329a69bb37ea91ceab7a50064ec0a0 (diff)
devices: fix coverity warning
Type: fix Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I0a58c0f54d8be31a0a78bef00152fb2cc193840e
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/devices/af_packet/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/af_packet/node.c b/src/vnet/devices/af_packet/node.c
index 0e522c913ad..8c72afb2456 100644
--- a/src/vnet/devices/af_packet/node.c
+++ b/src/vnet/devices/af_packet/node.c
@@ -246,7 +246,7 @@ af_packet_device_input_fn (vlib_main_t *vm, vlib_node_runtime_t *node,
u32 num_pkts = 0;
u32 rx_frame_offset = 0;
block_desc_t *bd = 0;
- vlib_buffer_t bt;
+ vlib_buffer_t bt = {};
u8 is_ip = (apif->mode == AF_PACKET_IF_MODE_IP);
if (is_ip)