ccd54a0a6fd85fd85f9f5d7aad7ca6efad43e542
1 --- a/src/liboping.c
2 +++ b/src/liboping.c
3 @@ -1540,10 +1540,12 @@
4 {
5 int opt;
7 +#ifdef IP_RECVTOS
8 /* Enable receiving the TOS field */
9 opt = 1;
10 setsockopt (ph->fd, IPPROTO_IP, IP_RECVTOS,
11 &opt, sizeof (opt));
12 +#endif /* IP_RECVTOS */
14 /* Enable receiving the TTL field */
15 opt = 1;