changeset 182 | 049347a649e0 |
parent 173 | 6d0e4e6bedad |
child 186 | a3e83a34f267 |
--- a/inc/dns.inc.php Wed Jun 18 19:11:39 2008 +0000 +++ b/inc/dns.inc.php Fri Jun 20 12:21:03 2008 +0000 @@ -376,7 +376,7 @@ $ttl = $dns_ttl; } - if (!is_numeric($ttl) || $prio < 0 || $prio > 2147483647 ) { + if (!is_numeric($ttl) || $ttl < 0 || $ttl > 2147483647 ) { error(ERR_DNS_INV_TTL); return false; }