projects
/
soho-sigint.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed debug code i forgot existed
[soho-sigint.git]
/
client-wifi
/
sohosigint
/
sohosigint-wifi.c
diff --git
a/client-wifi/sohosigint/sohosigint-wifi.c
b/client-wifi/sohosigint/sohosigint-wifi.c
index
b675f0d
..
3635dad
100644
(file)
--- a/
client-wifi/sohosigint/sohosigint-wifi.c
+++ b/
client-wifi/sohosigint/sohosigint-wifi.c
@@
-205,7
+205,7
@@
void my_callback(u_char *args,const struct pcap_pkthdr* pkthdr,const u_char* pac
//hlen=38;
switch (packet[hlen]) {
case 0x40: //probe request
//hlen=38;
switch (packet[hlen]) {
case 0x40: //probe request
- printf("probe request\n");
+
//
printf("probe request\n");
//while (counter<pkthdr->len) {
// printf("%02x",packet[counter]);
//while (counter<pkthdr->len) {
// printf("%02x",packet[counter]);
@@
-259,7
+259,7
@@
void my_callback(u_char *args,const struct pcap_pkthdr* pkthdr,const u_char* pac
}
break;
case 0x50: //probe response
}
break;
case 0x50: //probe response
- printf("probe response\n");
+
//
printf("probe response\n");
//while (counter<pkthdr->len) {
//printf("%02x",packet[counter]);
//while (counter<pkthdr->len) {
//printf("%02x",packet[counter]);
@@
-382,7
+382,7
@@
void my_callback(u_char *args,const struct pcap_pkthdr* pkthdr,const u_char* pac
diff = (t0 - start);
if ((diff >= 5) || (element == 25)) {
diff = (t0 - start);
if ((diff >= 5) || (element == 25)) {
- printf("time to barf!\n");
+
//
printf("time to barf!\n");
//printf("size: %d\n", element);
//change_chan(context);
int gchannel=0;
//printf("size: %d\n", element);
//change_chan(context);
int gchannel=0;