View | Details | Raw Unified
Collapse All | Expand All

(-) src/sniffd/autoconfig.c (-2 / +1 lines)
 Lines 772-779    Link Here 
      fclose(fh);
      fclose(fh);
      break;
      break;
    case DRV_PRISM2:
    case DRV_PRISM2:
      
		break;
	
    }
    }
    /* update flag take off PROMISC */
    /* update flag take off PROMISC */
    if ((skfd = iw_sockets_open()) < 0){
    if ((skfd = iw_sockets_open()) < 0){
(-) src/sniffd/gui_channel_scan.c (-1 / +1 lines)
 Lines 384-390    Link Here 
	    if (!beep()) flash();
	    if (!beep()) flash();
	    wattrset(statuswin, STDATTR);
	    wattrset(statuswin, STDATTR);
	    snprintf(message,100,"Detected new network '%s' (%s) on Channel %02d",
	    snprintf(message,100,"Detected new network '%s' (%s) on Channel %02d",
		     ((strlen(ap->ssid)==1)&&(!strncmp(" ",ap->ssid,1))) ? "<cloaked>" : ap->ssid,
		     ((strlen(ap->ssid)==1)&&(!strncmp(" ",(char *)ap->ssid,1))) ? "<cloaked>" : (char *)ap->ssid,
		     hexdump((__u8*)&ap->bssid,6), ap->channel);
		     hexdump((__u8*)&ap->bssid,6), ap->channel);
	    print_status_msg(statuswin, location, message);
	    print_status_msg(statuswin, location, message);
	    ap->status = AP_STATUS_ACTIVE;
	    ap->status = AP_STATUS_ACTIVE;