]> git.ipfire.org Git - location/libloc.git/commit - src/python/location-importer.in
location-importer.in: omit historic/orphaned RIR data
authorPeter Müller <peter.mueller@ipfire.org>
Wed, 21 Oct 2020 14:47:41 +0000 (14:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Oct 2020 17:31:48 +0000 (17:31 +0000)
commit84187ab5436eb158529d6f5e2a38890b4af3ddb4
treed8a62fc676f44fb31858a7eed952deb58e7b86f9
parenteee65490a10e0fe89b3834b8be176fc900084fa0
location-importer.in: omit historic/orphaned RIR data

Some RIRs include detailled information regarding networks not managed
by or allocated to themselves, particually APNIC. We need to filter
those networks (they usually have a characteristic network name) in
order to prevent operational quirks or returning wrong country codes.

Fixes: #12501
Partially fixes: #12499

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location-importer.in