Skip to content
New issue

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

staticd: fix route installation on same next hop with inactive routes #18361

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mwinter-osr
Copy link
Member

Fixes #18321.

When two routes have the same inactive next hop the second (third and so on) route installation won't happen, because a global next hop reference already exists. Add the code to install the route in case global next hop entry already exists and the next hop is inactive.

(Credits: Changes done by Rafael Zalamena - Just opening the PR for him as he is on vacation)

When two routes have the same inactive next hop the second (third and so
on) route installation won't happen, because a global next hop
reference already exists. Add the code to install the route in case
global next hop entry already exists and the next hop is inactive.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
@mwinter-osr
Copy link
Member Author

Anyone reviewing: Please read comments on the Issue #18321. There might be no consensus yet on the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding multiple static routes with interface to same non-existent nexthop fail to install correctly
3 participants