]> git.pld-linux.org Git - packages/libpcap.git/blob - libpcap-IFF_LOOPBACK.patch
updated to cvs20001217
[packages/libpcap.git] / libpcap-IFF_LOOPBACK.patch
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.068201 seconds and 3 git commands to generate.