projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1f7357
)
Stricter check for raw socket support.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 7 Dec 2013 21:20:10 +0000
(22:20 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sat, 7 Dec 2013 21:20:10 +0000
(22:20 +0100)
src/raw_socket_device.c
patch
|
blob
|
history
diff --git
a/src/raw_socket_device.c
b/src/raw_socket_device.c
index 48954d5db7f5c2c5397e0557cf34e2d9607a5c32..00fdef07a46c48b3402a1188b66edb745338c214 100644
(file)
--- 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;