* [PATCH] location-importer: AS names starting with "DNIC" actually are valid
@ 2022-06-05 9:25 Peter Müller
0 siblings, 0 replies; only message in thread
From: Peter Müller @ 2022-06-05 9:25 UTC (permalink / raw)
To: location
[-- Attachment #1: Type: text/plain, Size: 871 bytes --]
These are all assigned to the US Department of Defense.
Signed-off-by: Peter Müller <peter.mueller(a)ipfire.org>
---
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
# 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|IANA)(?:\d?$|\-)", name):
+ if re.match(r"^(ASN-BLK|)(AFCONC|AFRINIC|APNIC|ASNBLK|LACNIC|RIPE|IANA)(?:\d?$|\-)", name):
continue
# Bail out in case the AS name contains anything we do not expect here...
--
2.35.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-05 9:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-05 9:25 [PATCH] location-importer: AS names starting with "DNIC" actually are valid Peter Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox