X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet.h;h=8cf48e7d1d8a5b99c6ae45450327779dcaa30e2e;hp=6e575d45c536d215ca3391b2544daeaab76dd90e;hb=092d620dbb3fdc8226ea0a4e1cfd5cd53d608420;hpb=55a78da4e0b496fc599704473f41d5ea52669737 diff --git a/src/net.h b/src/net.h index 6e575d45..8cf48e7d 100644 --- a/src/net.h +++ b/src/net.h @@ -87,7 +87,7 @@ typedef union sockaddr_t { typedef struct vpn_packet_t { length_t len; /* the actual number of bytes in the `data' field */ int priority; /* priority or TOS */ - uint32_t seqno; /* 32 bits sequence number (network byte order of course) */ + uint8_t seqno[4]; /* 32 bits sequence number (network byte order of course) */ uint8_t data[MAXSIZE]; } vpn_packet_t;