summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizard.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/wizard.php')
-rwxr-xr-xusr/local/www/wizard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizard.php b/usr/local/www/wizard.php
index c9dae67..9fd214f 100755
--- a/usr/local/www/wizard.php
+++ b/usr/local/www/wizard.php
@@ -614,7 +614,7 @@ function fixup_string($string) {
$myurl = $proto . "://" . $config['interfaces']['lan']['ipaddr'] . $urlport . "/";
$newstring = str_replace("\$myurl", $myurl, $newstring);
// fixup #2: $wanip
- $curwanip = get_current_wan_address();
+ $curwanip = get_interface_ip();
$newstring = str_replace("\$wanip", $curwanip, $newstring);
// fixup #3: $lanip
$lanip = $config['interfaces']['lan']['ipaddr'];
OpenPOWER on IntegriCloud