From: Guus Sliepen Date: Sat, 7 Dec 2013 21:20:10 +0000 (+0100) Subject: Stricter check for raw socket support. X-Git-Tag: 1.0.23-android-1~10 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=98bbc5ff0c0f16a84d07167d23d01cc91decdfc6;p=tinc Stricter check for raw socket support. --- diff --git a/src/raw_socket_device.c b/src/raw_socket_device.c index 1dd726f8..0b971189 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;