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

nhrpd: fix sending /32 shortcut (backport #16640) #16645

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Aug 23, 2024

The remote spoke always sends a 32 prefix length to a shortcut request. In the example, the remote spoke as the IP address 192.168.2.1/24.

spoke1# sh ip nhrp shortcut
Type Prefix Via Identity
dynamic 192.168.2.1/32 10.255.255.2

Do not deal with local routes in nhrpd. Now:

spoke1# sh ip nhrp shortcut
Type Prefix Via Identity
dynamic 192.168.2.0/24 10.255.255.2

Fixes: d4aa24b ("*: Introduce Local Host Routes to FRR")


This is an automatic backport of pull request #16640 done by Mergify.

The remote spoke always sends a 32 prefix length to a shortcut request.
In the example, the remote spoke as the IP address 192.168.2.1/24.

spoke1# sh ip nhrp shortcut
Type     Prefix                   Via                      Identity
dynamic  192.168.2.1/32           10.255.255.2

Do not deal with local routes in nhrpd. Now:

spoke1# sh ip nhrp shortcut
Type     Prefix                   Via                      Identity
dynamic  192.168.2.0/24           10.255.255.2

Fixes: d4aa24b ("*: Introduce Local Host Routes to FRR")
Signed-off-by: Louis Scalbert <[email protected]>
(cherry picked from commit af54901)
@Jafaral Jafaral merged commit 516b009 into stable/10.0 Aug 24, 2024
14 checks passed
@mergify mergify bot deleted the mergify/bp/stable/10.0/pr-16640 branch August 24, 2024 21:40
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.

2 participants