af-packet: synchronize flags sizes

They are passed from config to threads so they need to be of the
same size.
pull/3157/head
Eric Leblond 7 years ago committed by Victor Julien
parent 7266c12b4f
commit 4bfa3aeaf9

@ -207,7 +207,7 @@ typedef struct AFPThreadVars_
/* handle state */
uint8_t afp_state;
uint8_t copy_mode;
uint8_t flags;
unsigned int flags;
/* IPS peer */
AFPPeer *mpeer;

@ -84,7 +84,7 @@ typedef struct AFPIfaceConfig_
/* promisc mode */
int promisc;
/* misc use flags including ring mode */
int flags;
unsigned int flags;
int copy_mode;
ChecksumValidationMode checksum_mode;
const char *bpf_filter;

Loading…
Cancel
Save