Merge pull request #6 from ChristianDresel/patch-3

Zeigt Ziel ID des Zielrouters an
This commit is contained in:
Robert Langhammer 2018-08-18 12:54:40 +02:00 committed by GitHub
commit cede2d67d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -98,6 +98,7 @@
'via' => $tempdata[16],
'interface' => $tempdata[18],
'metric' => $tempdata[12],
'destid' => $tempdata[10],
);
}
@ -166,6 +167,7 @@
<th>via</th>
<th>device</th>
<th>metric</th>
<th>Destination ID</th>
</tr>';
foreach($output['routes'] as $route) {
echo "<tr>";
@ -236,6 +238,7 @@
<th>via</th>
<th>device</th>
<th>metric</th>
<th>Destination ID</th>
</tr>';
foreach($output['routes'] as $route) {
if ($route['target'] == $_GET['ip'])