[PATCH 2.x branch] BGP: Bind listen socket to VRF

Ondrej Zajicek santiago at crfreenet.org
Fri Oct 26 19:28:04 CEST 2018


On Fri, Oct 26, 2018 at 12:03:57PM +0200, Alexander Zubkov wrote:
> BGP protocol could not bind to the interface in a VRF
> even if the vrf option was specified in the configuration.

Hi

Thanks for the bugfix, but note that in order to work with multiple BGP
protocols in different VRFs, also the selector of existing sockets that
runs before the sk_new() have to take it into consideration, otherwise it
will just return old socket bound to different VRF. See attached patch.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bgp-vrf.patch
Type: text/x-diff
Size: 1102 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20181026/c6ddb4cd/attachment.bin>


More information about the Bird-users mailing list