]> git.ipfire.org Git - location/libloc.git/commitdiff
location-importer: Fix typo in "aut-num"
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 May 2020 12:56:33 +0000 (12:56 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 15 May 2020 12:56:33 +0000 (12:56 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location-importer.in

index 36a525ee5bffbdba05196437844e8abe4eb8f97c..ea6d48527c8139760e38c6ee6c407c6cd8376009 100644 (file)
@@ -611,8 +611,8 @@ class CLI(object):
                                                                block.get("is-anycast") == "yes",
                                                        )
 
-                                               elif type == "autnum":
-                                                       autnum = block.get("autnum")
+                                               elif type == "aut-num":
+                                                       autnum = block.get("aut-num")
 
                                                        # Check if AS number begins with "AS"
                                                        if not autnum.startswith("AS"):