summaryrefslogtreecommitdiff
path: root/sysdep/unix/io.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-06-01 21:41:32 +0000
committerMartin Mares <mj@ucw.cz>1998-06-01 21:41:32 +0000
commit869c695998f0bc3b80d8500d88a53fb169c21bc1 (patch)
tree7a519ea3ecff741ad60f8a76e6cace57c43f3ad5 /sysdep/unix/io.c
parent4cc78c5082344f0d237a5cdfb05e53dfd04ffd8b (diff)
Synced to new interface code.
Diffstat (limited to 'sysdep/unix/io.c')
-rw-r--r--sysdep/unix/io.c2
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);