summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorMichael Newton <miken32@gmail.com>2013-02-11 10:59:08 -0800
committerMichael Newton <miken32@gmail.com>2013-02-11 10:59:08 -0800
commiteb1627906a3c4bd3db1a2baa2a0ebd421c0d8bd5 (patch)
tree6f77fece32873a25bda098b1273e4ed208eadb50 /etc/inc
parentee3576ddd3b1d3dbb8cd40abc8382d3d2f59ba18 (diff)
downloadpfsense-eb1627906a3c4bd3db1a2baa2a0ebd421c0d8bd5.zip
pfsense-eb1627906a3c4bd3db1a2baa2a0ebd421c0d8bd5.tar.gz
remove unsed getNasID function
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/captiveportal.inc14
1 files changed, 0 insertions, 14 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index d090f1b..0872b46 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -1516,20 +1516,6 @@ function getVolume($ip) {
}
/**
- * Get the NAS-Identifier
- *
- * We will use our local hostname to make up the nas_id
- */
-function getNasID()
-{
- $nasId = "";
- exec("/bin/hostname", $nasId);
- if(!$nasId[0])
- $nasId[0] = "{$g['product_name']}";
- return $nasId[0];
-}
-
-/**
* Get the NAS-IP-Address based on the current wan address
*
* Use functions in interfaces.inc to find this out
OpenPOWER on IntegriCloud