diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 11dfb2e4..b4f00107 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -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. */