]> git.ipfire.org Git - location/location-database.git/commitdiff
Use the organisation's name as AS name
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 Jan 2018 00:43:01 +0000 (00:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 31 Jan 2018 00:43:01 +0000 (00:43 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tools/database.py

index d0a3669a898407748d4ba255eb87dc8bec490a7f..99d6918af013e50928c635b3120281b522a110ff 100644 (file)
@@ -59,7 +59,7 @@ class Database(object):
                                if m:
                                        asn = int(m.group(1))
 
-                       elif key == "name":
+                       elif key == "org":
                                name = val
 
                if asn and name: