location-importer: AS names starting with "DNIC" actually are valid
Commit Message
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(-)
@@ -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...