From 771bf8f3c45f7d0731eb2bdf8ef54a698e0f1981 Mon Sep 17 00:00:00 2001 From: Robert Langhammer Date: Sat, 30 Dec 2017 01:52:54 +0100 Subject: [PATCH] delete ugly from and neighbour column Signed-off-by: Robert Langhammer --- index.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.php b/index.php index 4c79141..79886bd 100644 --- a/index.php +++ b/index.php @@ -67,7 +67,6 @@ foreach ($neighbour as $temp) { $tempdata = explode(" ", $temp); $output['neighbours'][] = array( - 'neighbour' => $tempdata[2], 'address' => $tempdata[4], 'interface' => $tempdata[6], 'reach' => $tempdata[8], @@ -83,7 +82,6 @@ $tempdata = explode(" ", $temp); $output['xroutes'][] = array( 'prefix' => $tempdata[4], - 'from' => $tempdata[6], 'metric' => $tempdata[8], ); } @@ -114,7 +112,6 @@ echo "

Neighbours

"; echo ' - @@ -135,7 +132,6 @@ echo '
neighbour address interface reach
- '; foreach($output['xroutes'] as $xroute) {
prefixfrom metric