diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-25 19:25:01 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-25 19:25:01 +0000 |
commit | c158266de3584d1e2bf884c8ec59befb8ef5f7ff (patch) | |
tree | b152773f8bbe8d2ad778d2c1a90396683853b98e /etc/rc.newwanip | |
parent | 6b55233d5c68dd5111860f01d0adf810ac305490 (diff) | |
download | pfsense-c158266de3584d1e2bf884c8ec59befb8ef5f7ff.zip pfsense-c158266de3584d1e2bf884c8ec59befb8ef5f7ff.tar.gz |
Make sure we are using the friendly interface name.
Ticket #702
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |