Commit 45fa97cd authored by Michael Tremer's avatar Michael Tremer

importer: Silently ignore any table headers

Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent bbcefb38
......@@ -988,6 +988,11 @@ class CLI(object):
for line in self._bird_cmd(server, "show route"):
m = route.match(line)
if not m:
# Ignore any header lines with the name of the routing table
if line.startswith(b"Table"):
continue
# Log anything else
log.debug("Could not parse line: %s" % line.decode())
continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment