From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: location@lists.ipfire.org Subject: [PATCH] location-importer: AS names starting with "DNIC" actually are valid Date: Sun, 05 Jun 2022 09:25:45 +0000 Message-ID: <80845fcb-2e54-4fee-9636-edb197aa14db@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9103997844480815120==" List-Id: --===============9103997844480815120== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable These are all assigned to the US Department of Defense. Signed-off-by: Peter M=C3=BCller --- src/scripts/location-importer.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/location-importer.in b/src/scripts/location-importer= .in index bee9186..4e9dc8c 100644 --- a/src/scripts/location-importer.in +++ b/src/scripts/location-importer.in @@ -894,7 +894,7 @@ class CLI(object): continue =20 # Skip any AS name that appears to be a placeholder for a different RIR = or entity... - if re.match(r"^(ASN-BLK|)(AFCONC|AFRINIC|APNIC|ASNBLK|DNIC|LACNIC|RIPE|I= ANA)(?:\d?$|\-)", name): + if re.match(r"^(ASN-BLK|)(AFCONC|AFRINIC|APNIC|ASNBLK|LACNIC|RIPE|IANA)(= ?:\d?$|\-)", name): continue =20 # Bail out in case the AS name contains anything we do not expect here... --=20 2.35.3 --===============9103997844480815120==--