Commit b3429272 authored by Julien Muchembled's avatar Julien Muchembled

Add support for recent iproute, which now recognizes babel protocol

(cherry picked from commit f0851225)
parent 5be3cc90
......@@ -380,7 +380,8 @@ def main():
def check_no_default_route():
for route in call(('ip', '-6', 'route', 'show',
'default')).splitlines():
if ' proto 42 ' not in route:
if not (' proto babel ' in route
or ' proto 42 ' in route):
sys.exit("Detected default route (%s)"
" whereas you specified --table=0."
" Fix your configuration." % route)
......
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