Update 'roagen.php'
Add web-links to the git hosted registry at https://git.dn42.us/dn42/registry
This commit is contained in:
parent
a30b244daa
commit
8114e94073
|
@ -109,6 +109,7 @@ foreach ($raw_array as $sub_array)
|
||||||
$roas["roas"][$k]["asn"] = trim ($_asn[0], "AS");
|
$roas["roas"][$k]["asn"] = trim ($_asn[0], "AS");
|
||||||
$roas["roas"][$k]["prefix"] = $_prefix;
|
$roas["roas"][$k]["prefix"] = $_prefix;
|
||||||
$roas["roas"][$k]["maxLength"] = ($_asn[0] != "AS0" ? $_maxlength : MAX_LEN_IPV6_AS0);
|
$roas["roas"][$k]["maxLength"] = ($_asn[0] != "AS0" ? $_maxlength : MAX_LEN_IPV6_AS0);
|
||||||
|
$roas["roas"][$k]["url"] = "$web_registry_url/data/inet6num/$prefix[1]_$prefix[2]";
|
||||||
$roas["roas"][$k]["ta"] = $_ta;
|
$roas["roas"][$k]["ta"] = $_ta;
|
||||||
$roas["roas"][$k]["mnt-by"] = $_mnt;
|
$roas["roas"][$k]["mnt-by"] = $_mnt;
|
||||||
|
|
||||||
|
@ -209,6 +210,7 @@ foreach ($raw_array as $sub_array)
|
||||||
$roas["roas"][$k]["asn"] = trim ($_asn[0], "AS");
|
$roas["roas"][$k]["asn"] = trim ($_asn[0], "AS");
|
||||||
$roas["roas"][$k]["prefix"] = $_prefix;
|
$roas["roas"][$k]["prefix"] = $_prefix;
|
||||||
$roas["roas"][$k]["maxLength"] = ($_asn[0] != "AS0" ? $_maxlength : MAX_LEN_IPV4_AS0);
|
$roas["roas"][$k]["maxLength"] = ($_asn[0] != "AS0" ? $_maxlength : MAX_LEN_IPV4_AS0);
|
||||||
|
$roas["roas"][$k]["url"] = "$web_registry_url/data/inetnum/$prefix[1]_$prefix[2]";
|
||||||
$roas["roas"][$k]["ta"] = $_ta;
|
$roas["roas"][$k]["ta"] = $_ta;
|
||||||
$roas["roas"][$k]["mnt-by"] = $_mnt;
|
$roas["roas"][$k]["mnt-by"] = $_mnt;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue