From 9d11ebcd5b3b8f9fc0ce4d7fba5667433d29c20e Mon Sep 17 00:00:00 2001 From: Christian Dresel Date: Sat, 18 Aug 2018 12:51:31 +0200 Subject: [PATCH] Zeigt Ziel ID des Zielrouters an MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Dies scheint im Babel noch ein klein wenig fehlerhaft zu sein. Muss noch analysiert werden. Allerdings ist dies bei der Fehlersuche extrem hilfreich wenn man weiß wo die Route am ende endet. --- index.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.php b/index.php index 3cfbbd7..1119a93 100644 --- a/index.php +++ b/index.php @@ -98,6 +98,7 @@ 'via' => $tempdata[16], 'interface' => $tempdata[18], 'metric' => $tempdata[12], + 'destid' => $tempdata[10], ); } @@ -166,6 +167,7 @@ via device metric + Destination ID '; foreach($output['routes'] as $route) { echo ""; @@ -236,6 +238,7 @@ via device metric + Destination ID '; foreach($output['routes'] as $route) { if ($route['target'] == $_GET['ip'])