i shouldnt code on meds
authorRuss Handorf <rhandorf@handorf.org>
Wed, 2 Mar 2016 04:11:02 +0000 (23:11 -0500)
committerRuss Handorf <rhandorf@handorf.org>
Wed, 2 Mar 2016 04:11:02 +0000 (23:11 -0500)
client-wifi/client-c/soho-sigint-wifi.c

index a406cf26cb2dab7a5e54f02def796a0cf5821fb0..c577e72cdc998f7fedbde0aaa74294c12e117028 100644 (file)
@@ -270,7 +270,7 @@ void my_callback(u_char *args,const struct pcap_pkthdr* pkthdr,const u_char* pac
           sprintf(ssid,"[truncated]");
         } 
         //printf("debug ssid: %s  fieldlen: %d strlen: %d\n", ssid, ssid_len, strlen(ssid));
-        sprintf(client_mac, "%02x:%02x:%02x:%02x:%02x:%02x", packet[50], packet[51],packet[52],packet[53],packet[54],packet[55]);
+        sprintf(client_mac, "%02x:%02x:%02x:%02x:%02x:%02x", packet[52], packet[53],packet[54],packet[55],packet[56],packet[57]);
 
         for (i=0; i<34; i++) {
           if (ssid_buf[i][0] != NULL) {