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://tinc-vpn.org/git/browse?a=commitdiff_plain;h=221f559bcf13febc9a4135c5eb54c236c543ee19;p=tinc Stricter check for raw socket support. --- diff --git a/src/raw_socket_device.c b/src/raw_socket_device.c index 48954d5d..00fdef07 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;