]> hackdaworld.org Git - my-code/hdw-sniff.git/commitdiff
changed to monitor 3 again
authorhackbard <hackbard>
Wed, 13 Nov 2002 02:45:25 +0000 (02:45 +0000)
committerhackbard <hackbard>
Wed, 13 Nov 2002 02:45:25 +0000 (02:45 +0000)
hdw-sniff.c

index 1773b99dd07da42e6f84e5d4feca3c5e2cab3084..f6da20f0559c471a12de85c28b66e6b8cb9b54b1 100644 (file)
@@ -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);