=".$subnet_range['start']." and user_auth.ip_int<=".$subnet_range['stop']; } $ip_list_filter = $subnet_filter; $ip_where = ''; if (!empty($f_description)) { if (checkValidIp($f_description)) { $ip_where = " and ip_int=inet_aton('" . $f_description . "') "; } if (checkValidMac($f_description)) { $ip_where = " and mac='" . mac_dotted($f_description) . "' "; } if (empty($ip_where)) { $ip_where=" and (user_auth.description LIKE '$f_description' OR user_auth.dhcp_hostname LIKE '$f_description')"; } $ip_list_filter = $ip_where; } print_ip_submenu($page_url); ?>