X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fnet.h;fp=src%2Fnet.h;h=cc84ce96035379b9d723ee63173502db4e9ca908;hb=ad87362afd13c4f14ce9a4b2cf0586a753b5a422;hp=04bd55a50a0a5ff42fc50d2f314738f32d6b58a6;hpb=d8312f930befa013a74010a3f30f69fdb1a01417;p=meshlink diff --git a/src/net.h b/src/net.h index 04bd55a5..cc84ce96 100644 --- a/src/net.h +++ b/src/net.h @@ -36,10 +36,8 @@ #define MAXBUFSIZE ((MAXSIZE > 2048 ? MAXSIZE : 2048) + 128) typedef struct vpn_packet_t { - struct { - unsigned int probe: 1; - unsigned int tcp: 1; - }; + unsigned int probe: 1; + unsigned int tcp: 1; uint16_t len; /* the actual number of bytes in the `data' field */ uint8_t data[MAXSIZE]; } vpn_packet_t;