]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix bgp_get_bound_name to handle views better
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 2 Sep 2021 12:29:18 +0000 (15:29 +0300)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 2 Sep 2021 13:18:19 +0000 (09:18 -0400)
commit7224dcd86a9e8bee0430801f16c137721b2fb8dc
tree883b5c384b7681e250be607ff6cae90850b71928
parente7682ccd1b4929a7b2690b2c2f49ec9d4cf18875
bgpd: fix bgp_get_bound_name to handle views better

The vrf socket code needs a interface/vrf name to be passed
in, in order for it to properly bind to the correct vrf.
In the case where bgp is using a view based instance
the bgp_get_bound_name should handle views better and
not return anything to be bound to.

Fixes #9519.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
bgpd/bgp_network.c