]> git.pld-linux.org Git - packages/libpcap.git/blame - libpcap-IFF_LOOPBACK.patch
- massive attack, adding Source-md5
[packages/libpcap.git] / libpcap-IFF_LOOPBACK.patch
CommitLineData
8b2e3faf 1--- libpcap-0.4a6.orig/inet.c
2+++ libpcap-0.4a6/inet.c
3@@ -69,7 +69,7 @@
4 #endif
5
6 /* Not all systems have IFF_LOOPBACK */
7-#ifdef IFF_LOOPBACK
8+#if defined(IFF_LOOPBACK) || defined(__linux__)
9 #define ISLOOPBACK(p) ((p)->ifr_flags & IFF_LOOPBACK)
10 #else
11 #define ISLOOPBACK(p) ((p)->ifr_name[0] == 'l' && (p)->ifr_name[1] == 'o' && \
This page took 0.025973 seconds and 4 git commands to generate.