inc/dns.inc.php
changeset 182 049347a649e0
parent 173 6d0e4e6bedad
child 186 a3e83a34f267
equal deleted inserted replaced
181:76a304b484ed 182:049347a649e0
   374 	if (!isset($ttl) || $ttl == "" ) {
   374 	if (!isset($ttl) || $ttl == "" ) {
   375 		global $dns_ttl;
   375 		global $dns_ttl;
   376 		$ttl = $dns_ttl;
   376 		$ttl = $dns_ttl;
   377 	}
   377 	}
   378 	
   378 	
   379 	if (!is_numeric($ttl) ||  $prio < 0 || $prio > 2147483647 ) {
   379 	if (!is_numeric($ttl) ||  $ttl < 0 || $ttl > 2147483647 ) {
   380 		error(ERR_DNS_INV_TTL);	return false;
   380 		error(ERR_DNS_INV_TTL);	return false;
   381 	}
   381 	}
   382 
   382 
   383 	return true;
   383 	return true;
   384 }
   384 }