|
|
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; |