diff --git a/index.php b/index.php index 21980fa..d7dc174 100644 --- a/index.php +++ b/index.php @@ -125,6 +125,13 @@ echo ""; if($_GET['ip'] != '') { + if ( preg_match("#/#", $_GET['ip']) == 0) { + if ( preg_match("#:#", $_GET['ip']) == 0) { + $_GET['ip'] = $_GET['ip'] . "/32"; + } else { + $_GET['ip'] = $_GET['ip'] . "/128"; + } + } echo '

Wege zu '.$_GET["ip"].'

'; echo '