mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-22 14:27:03 +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
|
||||
|
||||
if (s->vrf && !s->iface)
|
||||
if (s->vrf && (s->vrf != &default_vrf) && !s->iface)
|
||||
{
|
||||
/* Bind socket to associated VRF interface.
|
||||
This is Linux-specific, but so is SO_BINDTODEVICE. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user