Commit f0851225 authored by Julien Muchembled's avatar Julien Muchembled

Add support for recent iproute, which now recognizes babel protocol

parent 06b13406
......@@ -343,7 +343,8 @@ def main():
def check_no_default_route():
for route in call(('ip', '-6', 'route', 'show',
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 --default."
" 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