From 120bc9cf124aa157e4e3a5baf3cab5076c3bf94f Mon Sep 17 00:00:00 2001 From: Chriztoffer Date: Thu, 16 Jan 2020 10:59:23 +0000 Subject: [PATCH] Update 'rfc8416.php' Change key for web-links to the git hosted registry at https://git.dn42.us/dn42/registry from 'comment' to 'url' --- rfc8416.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rfc8416.php b/rfc8416.php index f11c447..2279dce 100755 --- a/rfc8416.php +++ b/rfc8416.php @@ -113,7 +113,7 @@ foreach ($raw_array as $sub_array) $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["asn"] = trim ($_asn[0], "AS"); $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["prefix"] = $_prefix; $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["maxPrefixLength"] = ($_asn[0] != "AS0" ? $_maxlength : MAX_LEN_IPV6_AS0); - $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["comment"] = "$web_registry_url/data/inet6num/$prefix[1]_$prefix[2]"; + $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["url"] = "$web_registry_url/data/inet6num/$prefix[1]_$prefix[2]"; $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["source"] = "$_ta"; $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["mnt-by"] = "$_mnt"; @@ -214,7 +214,7 @@ foreach ($raw_array as $sub_array) $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["asn"] = trim ($_asn[0], "AS"); $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["prefix"] = $_prefix; $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["maxPrefixLength"] = ($_asn[0] != "AS0" ? $_maxlength : MAX_LEN_IPV4_AS0); - $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["comment"] = "$web_registry_url/data/inetnum/$prefix[1]_$prefix[2]"; + $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["url"] = "$web_registry_url/data/inetnum/$prefix[1]_$prefix[2]"; $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["source"] = "$_ta"; $roas["locallyAddedAssertions"]["prefixAssertions"][$k]["mnt-by"] = "$_mnt";