Browse Source

Allow reserved IP adresses

Miraty 2 years ago
parent
commit
e64b6f5f56
1 changed files with 0 additions and 2 deletions
  1. 0 2
      fn/dns.php

+ 0 - 2
fn/dns.php

@@ -41,8 +41,6 @@ function knotcZoneExec($zone, $cmd) {
 }
 
 function checkIpFormat($ip) {
-	if (!filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_RES_RANGE))
-		userError("IP address is on the reserved range.");
 	if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4))
 		return "A";
 	if (filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6))