]> git.pld-linux.org Git - packages/libpcap.git/blob - libpcap-bonding.patch
- fixed problem with bonded interfaces
[packages/libpcap.git] / libpcap-bonding.patch
1 --- libpcap-1.1.1/pcap-linux.c.orig     2010-03-12 02:56:54.000000000 +0100
2 +++ libpcap-1.1.1/pcap-linux.c  2011-07-12 13:40:43.906538548 +0200
3 @@ -1883,7 +1883,7 @@
4                  */
5                 strncpy(ifrflags.ifr_name, name, sizeof(ifrflags.ifr_name));
6                 if (ioctl(fd, SIOCGIFFLAGS, (char *)&ifrflags) < 0) {
7 -                       if (errno == ENXIO)
8 +                       if (errno == ENXIO || errno == ENODEV)
9                                 continue;
10                         (void)snprintf(errbuf, PCAP_ERRBUF_SIZE,
11                             "SIOCGIFFLAGS: %.*s: %s",
This page took 0.045602 seconds and 3 git commands to generate.