summaryrefslogtreecommitdiffstats
path: root/etc/rc.newwanip
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.newwanip')
-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