diff --git a/src/wps.h b/src/wps.h index f0c5213..95e627f 100644 --- a/src/wps.h +++ b/src/wps.h @@ -56,7 +56,7 @@ struct ie_vtag { #define WPS_TAG_NET_KEY_IDX_LEN 1 #define WPS_TAG_KEYWRAP_AUTH_LEN 8 uint8_t data[]; -}; +} __attribute__((packed)); #define VTAG_SIZE (sizeof(struct ie_vtag)) struct ie_vtag *find_vtag(void *vtagp, int vtagl, void *vidp, int vlen)