summaryrefslogtreecommitdiff
authormax <max>2002-11-11 15:58:46 (UTC)
committer max <max>2002-11-11 15:58:46 (UTC)
commit2df7c2d998c4b15dba8cefea096cce248b774703 (patch) (unidiff)
tree84029e731fa0c2185dd48902f4fe230976d0ffd4
parent2870d8cba649ab744d0e48a2bcc537ea753f842f (diff)
downloadopie-2df7c2d998c4b15dba8cefea096cce248b774703.zip
opie-2df7c2d998c4b15dba8cefea096cce248b774703.tar.gz
opie-2df7c2d998c4b15dba8cefea096cce248b774703.tar.bz2
*** empty log message ***
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/daemon/source/sniffer.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/noncore/net/wellenreiter/daemon/source/sniffer.c b/noncore/net/wellenreiter/daemon/source/sniffer.c
index 6f40503..31a5d13 100644
--- a/noncore/net/wellenreiter/daemon/source/sniffer.c
+++ b/noncore/net/wellenreiter/daemon/source/sniffer.c
@@ -6,10 +6,7 @@
6 Btw. did i mention that i hate C? 6 Btw. did i mention that i hate C?
7 7
8 To compile use: 8 To compile use:
9 gcc wlan-sniffer.c -o wlan-sniffer -lpcap 9 gcc sniffer.c -o wlan-sniffer -lpcap
10
11 use it like this:
12 wlan-sniffer interface
13 10
14*/ 11*/
15#include "sniffer.h" 12#include "sniffer.h"
@@ -215,7 +212,7 @@ void process_packets(u_char *useless,const struct pcap_pkthdr* pkthdr,const u_ch
215 return; 212 return;
216 } 213 }
217 214
218 /* Decoding successfull of beacon frame */ 215 /* Here should be the infos to the gui issued */
219 if (pinfoptr->cap_ESS == 1 &&pinfoptr->cap_IBSS ==0) 216 if (pinfoptr->cap_ESS == 1 &&pinfoptr->cap_IBSS ==0)
220 { 217 {
221 printf ("\nHave found an accesspoint:"); 218 printf ("\nHave found an accesspoint:");