]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix source-address for BFD sessions when using update-source IFNAME
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 12 Nov 2021 16:32:06 +0000 (19:32 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 12 Nov 2021 16:32:06 +0000 (19:32 +0300)
commit5b7586900a0927e9d22907c86d6742bd3bd996b5
treef6524bfdc97c42ad66445b8705efcde0cba1f2c2
parent4b80ea6252923a05f0c9c5d8c8af580da2ce74d1
bgpd: fix source-address for BFD sessions when using update-source IFNAME

When "update-source IFNAME" is used for the neighbor, p->update_source
is set to NULL, so we can't use it as a source address and should use
the address from p->su_local.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_bfd.c