From: Guus Sliepen Date: Sat, 7 Dec 2013 21:20:10 +0000 (+0100) Subject: Stricter check for raw socket support. X-Git-Tag: release-1.1pre10~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=221f559bcf13febc9a4135c5eb54c236c543ee19;p=oweals%2Ftinc.git Stricter check for raw socket support. --- diff --git a/src/raw_socket_device.c b/src/raw_socket_device.c index 48954d5..00fdef0 100644 --- a/src/raw_socket_device.c +++ b/src/raw_socket_device.c @@ -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;