Merge pull request #18 from ChristianDresel/master

Anzeige der aktuellen Route im looking glass
This commit is contained in:
Robert Langhammer 2020-09-21 12:11:01 +02:00 committed by GitHub
commit 2a02908100
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,10 +288,11 @@
echo shell_exec('ping '.$ip.' -c 3');
echo "</pre>Traceroute $ip <br /><pre>";
echo shell_exec('traceroute '.$ip.'');
echo "</pre>Aktuelle Route:<pre>";
echo shell_exec('ip route get '.$ip.'');
echo "</pre>";
} else {
echo("$ip1 is not a valid IP address");
echo("This is not a valid IP address");
}
}