summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-08-17 22:04:27 +0200
committerChristian Pointner <equinox@spreadspace.org>2016-08-17 22:04:27 +0200
commit14bb9bdbecb07c01242e004442823e8cb153af4d (patch)
treefc8c0ddd3b36d560011fcc897a1dbbdc6c9906e3
parent744157c2ed6e73b2cf5ba15838b5fcaa1cb19cbd (diff)
parentc556840ba2222071b6571cf4a108707fc008a124 (diff)
Merge branch 'master' into stable
-rw-r--r--data.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/data.php b/data.php
index a41d896..005267c 100644
--- a/data.php
+++ b/data.php
@@ -240,12 +240,10 @@ foreach ($lines as $num => $line)
} else{
$links[$jot]->channel ="undef";
$links[$jot]->frequency ="undef";
- // echo "keine IP\n";
}
if (array_key_exists($ipfromLoc,$routerhash)){
if($conf['acl']['auth']){
if (strpos($links[$jot]->dnsto,$routerhash[$ipfromLoc][1])===false){
-// echo "C\n";
$links[$jot]->dnsto =($routerhash[$ipfromLoc][1].' (Kanal: '.$links[$jot]->channel.' / '.$links[$jot]->frequency.' GHz)'.';'.($links[$jot]->dnsto));
}
}
@@ -256,7 +254,6 @@ foreach ($lines as $num => $line)
if (array_key_exists($iptoLoc,$routerhash)){
if($conf['acl']['auth']){
if (strpos($links[$jot]->dnsfrom,$routerhash[$iptoLoc][1])===false){
-// echo "D\n";
$links[$jot]->dnsfrom =($routerhash[$iptoLoc][1].' (Kanal: '.$links[$jot]->channel.' / '.$links[$jot]->frequency.' GHz)'.';'.($links[$jot]->dnsfrom));
}
}
@@ -293,7 +290,6 @@ foreach ($lines as $num => $line)
} else{
$links[$i]->channel ="undef";
$links[$i]->frequency ="undef";
- // echo "keine IP\n";
}
$links[$i]->defaultroute = "0";