]> git.proxmox.com Git - mirror_frr.git/commit - nhrpd/nhrp_shortcut.c
nhrpd: add holdtime and MTU to CIE
authorGhasem Naddaf <ghasem.naddaf@gmail.com>
Thu, 27 Feb 2020 18:55:47 +0000 (10:55 -0800)
committerGhasem Naddaf <ghasem.naddaf@gmail.com>
Thu, 27 Feb 2020 18:55:47 +0000 (10:55 -0800)
commit47d4075766baa2020fc8de913a1a74e7dc430c22
treead4e21c5b5834ce88558a3c475c592eaf5644984
parente9178b8ba3b93bf3ea57f3f84bb5025c69decbe2
nhrpd: add holdtime and MTU to CIE

nhrp_shortcut_send_resolution_req: Add Holding time and MTU to the resolution request CIE according to RFC2332 Sec. 5.2.1.

nhrp_handle_resolution_req: Parse Holding time and MTU from CIE and update the requestor's binding. Also, when preparing the resolution reply, copy the Holding time and MTU to the CIE according to RFC2332 Sec. 5.2.2.

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