Initialize the UDP checksum, or no supper

Change-Id: I542fbe9ccdf83ee220080b2506b38016359e0ce5
Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:
Dave Barach
2016-12-02 07:55:49 -05:00
committed by Damjan Marion
parent 0529a743cc
commit dcbc86a8af

View File

@ -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)