summaryrefslogtreecommitdiffstats
path: root/etc/inc/ipsec.auth-user.php
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/ipsec.auth-user.php')
-rwxr-xr-xetc/inc/ipsec.auth-user.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/etc/inc/ipsec.auth-user.php b/etc/inc/ipsec.auth-user.php
index 571f237..8e8386d 100755
--- a/etc/inc/ipsec.auth-user.php
+++ b/etc/inc/ipsec.auth-user.php
@@ -52,8 +52,7 @@ require_once("interfaces.inc");
* We will use our local hostname to make up the nas_id
*/
if (!function_exists("getNasID")) {
-function getNasID()
-{
+function getNasID() {
global $g;
$nasId = gethostname();
@@ -71,8 +70,7 @@ function getNasID()
*
*/
if (!function_exists("getNasIP")) {
-function getNasIP()
-{
+function getNasIP() {
$nasIp = get_interface_ip();
if (!$nasIp) {
$nasIp = "0.0.0.0";
OpenPOWER on IntegriCloud