[08/10] importer: Fix reading Geofeeds from remarks
Commit Message
Only RIPE has a dedicated geofeed field. For others, this data needs to
be read from the remarks section.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
src/scripts/location-importer.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -863,8 +863,8 @@ class CLI(object):
inetnum["geofeed"] = val
# Parse geofeed when used as a remark
- elif key == "remark":
- m = re.match(r"^(?:geofeed|Geofeed)\s+(https://.*)", val)
+ elif key == "remarks":
+ m = re.match(r"^(?:Geofeed)\s+(https://.*)", val)
if m:
inetnum["geofeed"] = m.group(1)