location-importer: AS names starting with "DNIC" actually are valid

Message ID 80845fcb-2e54-4fee-9636-edb197aa14db@ipfire.org
State Accepted
Commit fb965e86c1229eb50311923247ad16085fc03430
Headers
Series location-importer: AS names starting with "DNIC" actually are valid |

Commit Message

Peter Müller June 5, 2022, 9:25 a.m. UTC
  These are all assigned to the US Department of Defense.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 src/scripts/location-importer.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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...