Anzeige der aktuellen Route im looking glass

Zeigt die aktuell verwendete Route im Looking glass an, macht eine Diagnose leichter.
This commit is contained in:
Christian Dresel 2020-08-30 12:22:07 +02:00 committed by GitHub
parent 509846fa0b
commit 9b51a460c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -288,8 +288,9 @@
echo shell_exec('ping '.$ip.' -c 3');
echo "</pre>Traceroute $ip <br /><pre>";
echo shell_exec('traceroute '.$ip.'');
echo "</pre>";
echo "</pre>Aktuelle Route:<pre>";
echo shell_exec('ip route get '.$ip.'');
echo "</pre>";
} else {
echo("$ip1 is not a valid IP address");
}