From 365bb3fa25ccfbe24df652b642b8f8d84dbe9b8e Mon Sep 17 00:00:00 2001 From: zbchristian <33725910+zbchristian@users.noreply.github.com> Date: Thu, 25 Jun 2020 16:00:41 +0200 Subject: [PATCH] Add internet connectivity information --- templates/networking.php | 42 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/templates/networking.php b/templates/networking.php index 7723733b..7bf20e94 100755 --- a/templates/networking.php +++ b/templates/networking.php @@ -27,7 +27,47 @@
+ | + | + | + | No route to the internet found | "; + } else { + foreach($rInfo as $route) { + echo "
---|---|---|---|---|
".$route["interface"]." | "; + echo "".$route["ip-address"]." | "; + echo "".$route["gateway"]." ".$route["gw-name"]." | ";
+ echo "".$route["access-ip"]." ".ACCESS_CHECK_IP." | ";
+ echo "".$route["access-dns"]." ".ACCESS_CHECK_DNS." | ";
+ echo "