diff options
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r-- | sysdep/unix/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/unix/io.c b/sysdep/unix/io.c index 45ba0f82..a94b8ea4 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -412,7 +412,7 @@ sk_open(sock *s) if (has_src) set_inaddr(&mreq, s->saddr); else - set_inaddr(&mreq, s->iface->ifa->ip); + set_inaddr(&mreq, s->iface->ip); memcpy(&mreq_add.imr_interface, &mreq, sizeof(struct in_addr)); #endif set_inaddr(&mreq_add.imr_multiaddr, s->daddr); |