summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index b64fc16..36dedd6 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1109,7 +1109,7 @@ function getNasID()
function getNasIP()
{
- $nasIp = get_current_wan_address();
+ $nasIp = get_interface_ip();
if(!$nasIp)
$nasIp = "0.0.0.0";
return $nasIp;
@@ -1136,4 +1136,4 @@ function portal_mac_fixed($clientmac) {
return FALSE ;
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud