Unbreak find_interface_ip for normal interfaces

This commit is contained in:
Scott Ullrich 2009-10-23 13:44:11 -04:00
parent a71b32d249
commit 00380613e8

View File

@ -2441,7 +2441,9 @@ function find_interface_ip($interface, $flush = false)
global $interface_ip_arr_cache;
$interface = str_replace("\n", "", $interface);
$interface = convert_friendly_interface_to_real_interface_name($interface);
if (does_interface_exist($interface) == false)
$interface = convert_friendly_interface_to_real_interface_name($interface);
if (does_interface_exist($interface) == false)
return;