forked from freifunk-franken/simple-babelweb
delete ugly from and neighbour column
Signed-off-by: Robert Langhammer <rlanghammer@web.de>
This commit is contained in:
parent
0f44c8d25e
commit
771bf8f3c4
|
@ -67,7 +67,6 @@
|
||||||
foreach ($neighbour as $temp) {
|
foreach ($neighbour as $temp) {
|
||||||
$tempdata = explode(" ", $temp);
|
$tempdata = explode(" ", $temp);
|
||||||
$output['neighbours'][] = array(
|
$output['neighbours'][] = array(
|
||||||
'neighbour' => $tempdata[2],
|
|
||||||
'address' => $tempdata[4],
|
'address' => $tempdata[4],
|
||||||
'interface' => $tempdata[6],
|
'interface' => $tempdata[6],
|
||||||
'reach' => $tempdata[8],
|
'reach' => $tempdata[8],
|
||||||
|
@ -83,7 +82,6 @@
|
||||||
$tempdata = explode(" ", $temp);
|
$tempdata = explode(" ", $temp);
|
||||||
$output['xroutes'][] = array(
|
$output['xroutes'][] = array(
|
||||||
'prefix' => $tempdata[4],
|
'prefix' => $tempdata[4],
|
||||||
'from' => $tempdata[6],
|
|
||||||
'metric' => $tempdata[8],
|
'metric' => $tempdata[8],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -114,7 +112,6 @@
|
||||||
echo "<H2>Neighbours</H2>";
|
echo "<H2>Neighbours</H2>";
|
||||||
echo '<table>
|
echo '<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>neighbour</th>
|
|
||||||
<th>address</th>
|
<th>address</th>
|
||||||
<th>interface</th>
|
<th>interface</th>
|
||||||
<th>reach</th>
|
<th>reach</th>
|
||||||
|
@ -135,7 +132,6 @@
|
||||||
echo '<table>
|
echo '<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>prefix</th>
|
<th>prefix</th>
|
||||||
<th>from</th>
|
|
||||||
<th>metric</th>
|
<th>metric</th>
|
||||||
</tr>';
|
</tr>';
|
||||||
foreach($output['xroutes'] as $xroute) {
|
foreach($output['xroutes'] as $xroute) {
|
||||||
|
|
Loading…
Reference in New Issue