aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/tcp_packet.h
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2017-02-15 10:22:30 +0100
committerJuraj Sloboda <jsloboda@cisco.com>2017-02-15 10:36:25 +0100
commit12ba252193148c06137a4f811aee71fec0801ea4 (patch)
treedb09d6386d297c4397b4d0bb5d6bd6ac08c029fa /src/vnet/ip/tcp_packet.h
parent33e2dc078b4cc7eb32a829180bd8a58ec5aafc90 (diff)
Fix bug in definition of tcp_header_t
Change-Id: Ic814b805ef77913ffe86f82c009602c75258acfb Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'src/vnet/ip/tcp_packet.h')
-rw-r--r--src/vnet/ip/tcp_packet.h5
1 files changed, 4 insertions, 1 deletions
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. */