Merge pull request #10 from ChristianDresel/master

fix Interface in neighbours table
This commit is contained in:
Robert Langhammer 2018-08-25 22:33:19 +02:00 committed by GitHub
commit 3526275fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -69,7 +69,7 @@
}
foreach ($neighbour as $temp) {
$address=explode(" ",strstr($temp,"address"));
$interface=explode(" ",strstr($temp,"interface"));
$interface=explode(" ",strstr($temp,"if"));
$reach=explode(" ",strstr($temp,"reach"));
$rxcost=explode(" ",strstr($temp,"rxcost"));
$txcost=explode(" ",strstr($temp,"txcost"));
@ -123,6 +123,7 @@
<H2>Babel information</H2><?php
echo "<table>";
echo '<tr><td><a href="https://github.com/rohammer/Simple-Babelweb">Quellcode Simple Babelweb</a></td></tr>';
foreach($output['data'] as $temp) { echo "<tr><td>$temp</td></tr>"; }
echo "</table>";