summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f1b60e)
raw | patch | inline | side by side (parent: 5f1b60e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Oct 2007 13:59:59 +0000 (13:59 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Oct 2007 13:59:59 +0000 (13:59 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7646 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/addons/gotomasses/class_target_list.inc | patch | blob | history |
diff --git a/plugins/addons/gotomasses/class_target_list.inc b/plugins/addons/gotomasses/class_target_list.inc
index 2863b24fa648ade054c75680a050c91c6cc22a8f..6ecd300ef6d3e1818f320b314d61bff207eaabe7 100644 (file)
$IP_start = $this->IP_start;
$IP_end = $this->IP_end;
- if(!is_ip($IP_start)){
- print_red(_("Please specify a valid IP range."));
- return;
- }
- if(!is_ip($IP_end)){
- print_red(_("Please specify a valid IP range."));
- return;
+ if($this->IPMatch){
+ if(!is_ip($IP_start)){
+ print_red(_("Please specify a valid IP range."));
+ return;
+ }
+ if(!is_ip($IP_end)){
+ print_red(_("Please specify a valid IP range."));
+ return;
+ }
}