Stricter check for raw socket support.
This commit is contained in:
parent
c1f7357e7d
commit
221f559bcf
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
|||
#include "route.h"
|
||||
#include "xalloc.h"
|
||||
|
||||
#if defined(PF_PACKET) && defined(ETH_P_ALL) && defined(AF_PACKET)
|
||||
#if defined(PF_PACKET) && defined(ETH_P_ALL) && defined(AF_PACKET) && defined(SIOCGIFINDEX)
|
||||
static char *device_info;
|
||||
|
||||
static uint64_t device_total_in = 0;
|
||||
|
|
Loading…
Reference in a new issue