Make sure we are using the friendly interface name.

Ticket #702
This commit is contained in:
Scott Ullrich 2005-11-25 19:25:01 +00:00
parent 6b55233d5c
commit c158266de3

View File

@ -37,7 +37,7 @@
if($argv[1] <> "") {
$curwanip = find_interface_ip($argv[1]);
$interface = $argv[1];
$interface = convert_real_interface_to_friendly_interface_name($argv[1]);
} else {
$curwanip = get_current_wan_address();
$interface = "wan";