]> git.pld-linux.org Git - packages/kismet.git/blob - kismet-misc_fix.patch
- updated to 2.8.1
[packages/kismet.git] / kismet-misc_fix.patch
1 diff -urN kismet-2.4.6.org/pcapsource.cc kismet-2.4.6/pcapsource.cc
2 --- kismet-2.4.6.org/pcapsource.cc      Wed Sep  4 18:02:17 2002
3 +++ kismet-2.4.6/pcapsource.cc  Wed Sep  4 18:03:04 2002
4 @@ -75,7 +75,7 @@
5  
6  #ifdef HAVE_PCAP_NONBLOCK
7      pcap_setnonblock(pd, 1, errstr);
8 -#elseif ! defined(SYS_OPENBSD)
9 +#elif !defined(SYS_OPENBSD)
10      // do something clever  (Thanks to Guy Harris for suggesting this).
11      int save_mode = fcntl(pcap_fileno(pd), F_GETFL, 0);
12      if (fcntl(pcap_fileno(pd), F_SETFL, save_mode | O_NONBLOCK) < 0) {
This page took 0.020412 seconds and 3 git commands to generate.