Initialize the UDP checksum, or no supper
Change-Id: I542fbe9ccdf83ee220080b2506b38016359e0ce5 Signed-off-by: Dave Barach <dave@barachs.net>
This commit is contained in:

committed by
Damjan Marion

parent
0529a743cc
commit
dcbc86a8af
@ -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)
|
||||
|
Reference in New Issue
Block a user