]> git.puffer.fish Git - matthieu/frr.git/commit
nhrpd: route update support for natoa nbma
authorGhasem Naddaf <ghasem.naddaf@gmail.com>
Thu, 27 Feb 2020 19:37:37 +0000 (11:37 -0800)
committerGhasem Naddaf <ghasem.naddaf@gmail.com>
Thu, 27 Feb 2020 19:37:37 +0000 (11:37 -0800)
commit912c556b3a0354f37328f52108777e434307e339
tree8f57741c6804ff7b98d2433c3fa43496ec729e84
parent47d4075766baa2020fc8de913a1a74e7dc430c22
nhrpd: route update support for natoa nbma

nhrp_cache_update_route, nhrp_cache_authorize_binding: Fix route update for NAT scenario. When remote_nbma_natoa is already set in the cache entry, binding should be updated to this value and not vc remote nbma, which would be different from the NATted address.

nhrp_shortcut_recv_resolution_rep: Simplify the logic for finding the natoa nbma. Also, install shortcut entries as DYNAMIC type, as suggested in Section 6.2.2 of RFC2332.

nhrp_shortcut_cache_notify: announce the installed route with the correct interface from cache.

Signed-off-by: Ghasem Naddaf <gshirazi@infoblox.com>
nhrpd/nhrp_cache.c
nhrpd/nhrp_shortcut.c