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: v17.04-rc1~225 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F38%2F5138%2F2;p=vpp.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 ed402403592..93f73e010aa 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. */