diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2021-10-14 12:12:37 -0300 | 
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2023-04-19 09:15:01 -0300 | 
| commit | c262df828b2475632f590c256db677b424d868c7 (patch) | |
| tree | 85a8ab1e5ff016e9cdc28e18f91d263a207c8d32 /ripd/rip_interface.c | |
| parent | fec51f2e2be021108dc1de4dd1ea89516082eaf7 (diff) | |
ripd: support BFD integration
Implement RIP peer monitoring with BFD.
RFC 5882 Generic Application of Bidirectional Forwarding Detection
(BFD), Section 10.3 Interactions with RIP.
Co-authored-by: Renato Westphal <renato@opensourcerouting.org>
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'ripd/rip_interface.c')
| -rw-r--r-- | ripd/rip_interface.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index 0b92f174b1..b383be042a 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -457,6 +457,7 @@ static void rip_interface_reset(struct rip_interface *ri)  	ri->sent_updates = 0;  	ri->passive = 0; +	XFREE(MTYPE_TMP, ri->bfd.profile);  	rip_interface_clean(ri);  } @@ -1109,6 +1110,7 @@ void rip_interface_sync(struct interface *ifp)  	struct rip_interface *ri;  	ri = ifp->info; +	ri->ifp = ifp;  	if (ri)  		ri->rip = ifp->vrf->info;  }  | 
