From c158266de3584d1e2bf884c8ec59befb8ef5f7ff Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 25 Nov 2005 19:25:01 +0000 Subject: Make sure we are using the friendly interface name. Ticket #702 --- etc/rc.newwanip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/rc.newwanip b/etc/rc.newwanip index 9cdcf1e..9f03fcc 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -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"; -- cgit v1.1