From: Juraj Sloboda Date: Wed, 15 Feb 2017 09:22:30 +0000 (+0100) Subject: Fix bug in definition of tcp_header_t X-Git-Tag: odp_vpp~609 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=12ba252193148c06137a4f811aee71fec0801ea4;p=odp4vpp.git Fix bug in definition of tcp_header_t Change-Id: Ic814b805ef77913ffe86f82c009602c75258acfb Signed-off-by: Juraj Sloboda --- diff --git a/src/vnet/ip/tcp_packet.h b/src/vnet/ip/tcp_packet.h index ed402403..93f73e01 100644 --- a/src/vnet/ip/tcp_packet.h +++ b/src/vnet/ip/tcp_packet.h @@ -76,7 +76,10 @@ typedef struct }; u32 src_and_dst; } ports; - u16 src_port, dst_port; + struct + { + u16 src_port, dst_port; + }; }; /* Sequence and acknowledgment number. */