Stricter check for raw socket support.

This commit is contained in:
Guus Sliepen 2013-12-07 22:20:10 +01:00
parent c1f7357e7d
commit 221f559bcf

View file

@ -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;