From dcbc86a8afd3b928ffe5bd5a5d15da31ee762b4f Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 2 Dec 2016 07:55:49 -0500 Subject: Initialize the UDP checksum, or no supper Change-Id: I542fbe9ccdf83ee220080b2506b38016359e0ce5 Signed-off-by: Dave Barach --- plugins/flowperpkt-plugin/flowperpkt/node.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/flowperpkt-plugin') diff --git a/plugins/flowperpkt-plugin/flowperpkt/node.c b/plugins/flowperpkt-plugin/flowperpkt/node.c index d94adb7f3e4..b1806fc4a82 100644 --- a/plugins/flowperpkt-plugin/flowperpkt/node.c +++ b/plugins/flowperpkt-plugin/flowperpkt/node.c @@ -183,6 +183,7 @@ add_to_flow_record (vlib_main_t * vm, ip->dst_address.as_u32 = frm->ipfix_collector.as_u32; udp->src_port = clib_host_to_net_u16 (UDP_DST_PORT_ipfix); udp->dst_port = clib_host_to_net_u16 (UDP_DST_PORT_ipfix); + udp->checksum = 0; /* FIXUP: message header export_time */ h->export_time = (u32) -- cgit 1.2.3-korg