Fix bug in definition of tcp_header_t 38/5138/2
authorJuraj Sloboda <jsloboda@cisco.com>
Wed, 15 Feb 2017 09:22:30 +0000 (10:22 +0100)
committerJuraj Sloboda <jsloboda@cisco.com>
Wed, 15 Feb 2017 09:36:25 +0000 (10:36 +0100)
Change-Id: Ic814b805ef77913ffe86f82c009602c75258acfb
Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
src/vnet/ip/tcp_packet.h

index ed40240..93f73e0 100644 (file)
@@ -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. */