Some Ubuntu VM setups show ff00:/8 kernel routes, not a FRR issue
Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
actual = actual.replace(ll[1], "fe80::__(%s)__" % ll[0])
# Mask out protocol name or number
actual = re.sub(r" proto [0-9a-z]+ ", " proto XXXX ", actual)
+ # Remove ff00::/8 routes (seen on some kernels - not from FRR)
+ actual = re.sub(r'ff00::/8.*', '', actual)
+
+ # Strip empty lines
+ actual = actual.lstrip()
+ actual = actual.rstrip()
# Fix newlines (make them all the same)
actual = ('\n'.join(actual.splitlines())).splitlines(1)