projects
/
my-code
/
hdw-sniff.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e53bfef
)
changed to monitor 3 again
author
hackbard
<hackbard>
Wed, 13 Nov 2002 02:45:25 +0000
(
02:45
+0000)
committer
hackbard
<hackbard>
Wed, 13 Nov 2002 02:45:25 +0000
(
02:45
+0000)
hdw-sniff.c
patch
|
blob
|
history
diff --git
a/hdw-sniff.c
b/hdw-sniff.c
index
1773b99
..
f6da20f
100644
(file)
--- a/
hdw-sniff.c
+++ b/
hdw-sniff.c
@@
-60,7
+60,7
@@
int main(int argc, char *argv[]) {
if(atoi(argv[2])==1) {
printf("setting to monitor mode\n");
if(strncmp(argv[1],"wlan",4)==0)
- sprintf(sys_call,"iwpriv %s monitor
2
",argv[1]);
+ sprintf(sys_call,"iwpriv %s monitor
3
",argv[1]);
if(strncmp(argv[1],"eth",3)==0)
sprintf(sys_call,"ifconfig %s promisc",argv[1]);
system(sys_call);