(legacy) zap getNasIP

This commit is contained in:
Ad Schellevis 2015-12-27 12:42:29 +01:00
parent 1f7af3105e
commit 8c182ca4e8

View File

@ -5295,21 +5295,3 @@ function get_ppp_uptime($port){
return $total_time;
}
}
/**
* Get the NAS-IP-Address based on the current wan address
*
* Use functions in interfaces.inc to find this out
*
*/
function getNasIP()
{
$nasIp = get_interface_ip();
if (!is_ipaddr($nasIp)) {
$nasIp = '0.0.0.0';
}
return $nasIp;
}