2 changed files with 19 additions and 2 deletions
@ -0,0 +1,15 @@
|
||||
Index: src/liboping.c
|
||||
--- src/liboping.c.orig 2010-11-17 09:54:43.000000000 +0100
|
||||
+++ src/liboping.c 2010-12-19 18:57:57.000000000 +0100
|
||||
@@ -1512,9 +1512,11 @@
|
||||
int opt;
|
||||
|
||||
/* Enable receiving the TOS field */
|
||||
+#ifdef IP_RECVTOS
|
||||
opt = 1;
|
||||
setsockopt (ph->fd, IPPROTO_IP, IP_RECVTOS,
|
||||
&opt, sizeof (opt));
|
||||
+#endif
|
||||
|
||||
/* Enable receiving the TTL field */
|
||||
opt = 1;
|
Loading…
Reference in new issue