diff --git a/lib/constants.php b/lib/constants.php new file mode 100644 index 0000000..8707981 --- /dev/null +++ b/lib/constants.php @@ -0,0 +1,13 @@ + diff --git a/lib/define.php b/lib/define.php index 8c71b21..0db6ddb 100644 --- a/lib/define.php +++ b/lib/define.php @@ -9,8 +9,5 @@ $files4 = scandir ("../registry/data/route/"); // Define array() we are gonna store data inside. $roas = array(); -define ("MAX_LEN_IPV4", 28); -define ("MAX_LEN_IPV6", 64); - $web_registry_url = 'https://git.dn42.us/dn42/registry/src/master'; ?> diff --git a/rfc8416.php b/rfc8416.php index 47bbc93..f11c447 100755 --- a/rfc8416.php +++ b/rfc8416.php @@ -1,6 +1,7 @@