From 583ff013077bc82e5390062443690a3cee3421f1 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 27 Aug 2007 08:08:51 +0000 Subject: [PATCH] Updated zone address checks. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7142 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servDNSeditZone.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_servDNSeditZone.inc b/plugins/admin/systems/class_servDNSeditZone.inc index 2bb3d47c3..ac5b3c3b7 100644 --- a/plugins/admin/systems/class_servDNSeditZone.inc +++ b/plugins/admin/systems/class_servDNSeditZone.inc @@ -430,8 +430,8 @@ class servdnseditZone extends plugin } /* Check class for given Zone Address */ - $addr = preg_replace("/^[^\/]+\//","",$this->ReverseZone); - + $addr = preg_replace("/^[^\/]*+\//","",$this->ReverseZone); + /* Check for valid&complete IP address */ if(!is_ip($addr)){ $message[] = _("The given network address is not a valid, please specify a valid IP address."); -- 2.30.2