]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: remove cumulus specific code
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 26 Feb 2021 19:51:00 +0000 (16:51 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 23 Mar 2021 15:40:10 +0000 (12:40 -0300)
commit50bd8995d4595048844905bdeaf7d14252ec652a
tree638c2fa5f2fb2db6233be67f0c7a94500343cafb
parent3e6376b813fc38a7588ce1d0624b9fea4ad2ba9f
bgpd: remove cumulus specific code

The BFD function `bgp_bfd_is_peer_multihop` will no longer exist and now
both code paths are equal.

Longer explanation:
Cumulus was previously using the BFD function to help determine whether a
peer is multi hop or not, because there is a configuration to set BFD
to use single or multi hop.

Current BFD code can automatically pick between single/multi hop by
using the protocol information and so it is a good idea to have that
tested/used than relying on yet another duplicated information.

(BFD extracts the TTL information from protocol and selects
single/multi hop based on that)

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bgpd/bgp_zebra.c