summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-25 19:25:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-25 19:25:01 +0000
commitc158266de3584d1e2bf884c8ec59befb8ef5f7ff (patch)
treeb152773f8bbe8d2ad778d2c1a90396683853b98e /etc
parent6b55233d5c68dd5111860f01d0adf810ac305490 (diff)
downloadpfsense-c158266de3584d1e2bf884c8ec59befb8ef5f7ff.zip
pfsense-c158266de3584d1e2bf884c8ec59befb8ef5f7ff.tar.gz
Make sure we are using the friendly interface name.
Ticket #702
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.newwanip2
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";
OpenPOWER on IntegriCloud