diff -r 76a304b484ed -r 049347a649e0 inc/dns.inc.php --- 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; }