Draw little wireless icons for AirPcap adapters.

svn path=/trunk/; revision=30839
This commit is contained in:
Gerald Combs 2009-11-05 22:23:41 +00:00
parent 54aa776069
commit 77ce6145bb
1 changed files with 2 additions and 1 deletions

View File

@ -347,7 +347,8 @@ GtkWidget * capture_get_if_icon(const if_info_t* if_info _U_)
return xpm_to_widget(modem_16_xpm);
}
if ( strstr(if_info->description,"Wireless") != NULL || strstr(if_info->description,"802.11") != NULL) {
if ( strstr(if_info->description,"Wireless") != NULL || strstr(if_info->description,"802.11") != NULL ||
strstr(if_info->description,"AirPcap") != NULL || strstr(if_info->name,"airpcap") != NULL) {
return xpm_to_widget(network_wireless_16_xpm);
}