]> git.ipfire.org Git - location/libloc.git/commitdiff
location-importer: Read all routes and not only those imported through iBGP
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Jul 2020 16:00:52 +0000 (16:00 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Jul 2020 16:00:52 +0000 (16:00 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location-importer.in

index b3167dec15367aed5c769c05d5a71eb9d30701ac..f5ae4a9c005f1236228664821babb22d232e5bd4 100644 (file)
@@ -571,7 +571,7 @@ class CLI(object):
 
        def _handle_update_announcements_from_bird(self, server):
                # Pre-compile the regular expression for faster searching
-               route = re.compile(b"^\s(.+?)\s+.+?\[AS(.*?)i\]$")
+               route = re.compile(b"^\s(.+?)\s+.+?\[AS(.*?).\]$")
 
                log.info("Requesting routing table from Bird (%s)" % server)