diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2024-08-23 16:05:45 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-23 19:57:57 +0000 |
| commit | 90b534bbc68ad283220610766a4d61fd497bb919 (patch) | |
| tree | f9ab09442dad2e9bc093969849665525d9da9f30 /lib/command_py.c | |
| parent | c0317acdea237fbc4904e40a3562103b845896d0 (diff) | |
nhrpd: fix sending /32 shortcut
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: d4aa24ba7d ("*: Introduce Local Host Routes to FRR")
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
(cherry picked from commit af54901405474b0623bda1899424ec18a3240c71)
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
