ipfix-export: fix the warning message for uninitialized variable

Type: fix

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I2b8b6a3b5a6df71e84ce2f15ef7117f390121c2f
This commit is contained in:
Mohsin Kazmi
2022-02-22 11:42:35 +00:00
committed by Ole Tr�an
parent 9a63b6e147
commit 3626a7cf82

View File

@@ -349,8 +349,8 @@ vnet_ipfix_exp_send_buffer (vlib_main_t *vm, ipfix_exporter_t *exp,
vlib_frame_t *f;
ipfix_set_header_t *s;
ipfix_message_header_t *h;
ip4_header_t *ip4;
ip6_header_t *ip6;
ip4_header_t *ip4 = 0;
ip6_header_t *ip6 = 0;
void *ip;
udp_header_t *udp;
int ip_len;