mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-03 07:31:54 +00:00
Linux: Not binding the default-vrf socket to the (nonexistent) vrf device
This commit is contained in:
parent
365ea12ea1
commit
2379ed40be
@ -1049,7 +1049,7 @@ sk_setup(sock *s)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (s->vrf && !s->iface)
|
if (s->vrf && (s->vrf != &default_vrf) && !s->iface)
|
||||||
{
|
{
|
||||||
/* Bind socket to associated VRF interface.
|
/* Bind socket to associated VRF interface.
|
||||||
This is Linux-specific, but so is SO_BINDTODEVICE. */
|
This is Linux-specific, but so is SO_BINDTODEVICE. */
|
||||||
|
Loading…
Reference in New Issue
Block a user