summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-12-02 07:55:49 -0500
committerDamjan Marion <dmarion.lists@gmail.com>2016-12-02 14:20:53 +0000
commitdcbc86a8afd3b928ffe5bd5a5d15da31ee762b4f (patch)
tree4ed6e76eca25eefeb4aca7303b7b4381412ea9bc /plugins
parent0529a743cc1299920cccbf4d445a904e954d6565 (diff)
Initialize the UDP checksum, or no supper
Change-Id: I542fbe9ccdf83ee220080b2506b38016359e0ce5 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/flowperpkt-plugin/flowperpkt/node.c1
1 files changed, 1 insertions, 0 deletions
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)