diff --git a/index.php b/index.php index c59477d..b9bf5ad 100644 --- a/index.php +++ b/index.php @@ -183,7 +183,7 @@ echo ""; } echo ""; - if($_REQUEST['routes'] == '1') { + if($_GET['routes'] == '1') { echo "

routes

"; echo ' @@ -203,7 +203,7 @@ } - if($_REQUEST['v4table'] == '1') { + if($_GET['v4table'] == '1') { echo "

ipv4 routing table

"; echo '
'; $v4routen = shell_exec('ip r s t $(grep import-table /etc/babeld.conf | cut -f2 -d" ")'); @@ -224,7 +224,7 @@ echo "
"; } - if($_REQUEST['v6table'] == '1') { + if($_GET['v6table'] == '1') { echo "

ipv6 routing table

"; echo ''; $v6routen = shell_exec('ip -6 r s t $(grep import-table /etc/babeld.conf | cut -f2 -d" ")'); @@ -248,7 +248,7 @@ } ?>
- +