We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function "get_routes" from iproute.py does not return default route, which is quote important route and should be returned.
It is caused by condition "... if l[0] == 'RTA_DST'] ..." on line 260. Default route does not have RTA_DST attribute.
Please remove this condition.
Thanks Ondrej
The text was updated successfully, but these errors were encountered:
Fixed in d5d9ff3 . Let me know, if it works for you and I can close the bug.
Sorry, something went wrong.
Fix included in 0.1.10: https://github.com/svinota/pyroute2/tree/0.1.10
I have tested 0.1.10 and everything works as expected. Thx.
iproute: get_routes() default route fix
d5d9ff3
Bug-Url: #8
No branches or pull requests
Function "get_routes" from iproute.py does not return default route, which is quote important route and should be returned.
It is caused by condition "... if l[0] == 'RTA_DST'] ..." on line 260. Default route does not have RTA_DST attribute.
Please remove this condition.
Thanks
Ondrej
The text was updated successfully, but these errors were encountered: