aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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. */