diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-04-10 11:08:29 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-04-10 11:08:29 +0000 |
| commit | cbffad50eaa192d44a52fc08f2dd2abcf0735b29 (patch) | |
| tree | 0d7966507e95fba838e72b8f8bf2d38d6e6cbb52 /frontends/php/include/validate.inc.php | |
| parent | e955d5411165bb66004a72c511ae33210243f98d (diff) | |
| download | zabbix-cbffad50eaa192d44a52fc08f2dd2abcf0735b29.tar.gz zabbix-cbffad50eaa192d44a52fc08f2dd2abcf0735b29.tar.xz zabbix-cbffad50eaa192d44a52fc08f2dd2abcf0735b29.zip | |
- fixed IP validation (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3982 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/validate.inc.php')
| -rw-r--r-- | frontends/php/include/validate.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/validate.inc.php b/frontends/php/include/validate.inc.php index 90a4eb41..84d52440 100644 --- a/frontends/php/include/validate.inc.php +++ b/frontends/php/include/validate.inc.php @@ -212,7 +212,7 @@ if($type == T_ZBX_IP) { - if( !validate_ip($var) ) + if( !validate_ip($var,$arr) ) { if($flags&P_SYS) { |
