diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2008-11-05 21:39:04 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2008-11-05 21:39:04 +0100 |
commit | 1389f3699fc643dac6fd4d2f19fb59da3624a2fa (patch) | |
tree | f623daeb3bfcf8dc6c9a6b670e93bab6efa34b25 /sysdep | |
parent | baa9ef18c62612bd91a8362ef20427046105c113 (diff) | |
download | bird-1389f3699fc643dac6fd4d2f19fb59da3624a2fa.tar bird-1389f3699fc643dac6fd4d2f19fb59da3624a2fa.zip |
Fixes bugs in IPv6 code caused by recent commits.
Diffstat (limited to 'sysdep')
-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 e67ed80..ddb3c4d 100644 --- a/sysdep/unix/io.c +++ b/sysdep/unix/io.c @@ -616,7 +616,7 @@ sk_set_ttl_int(sock *s) int one = 1; #ifdef IPV6 if (s->type != SK_UDP_MC && s->type != SK_IP_MC && - setsockopt(fd, SOL_IPV6, IPV6_UNICAST_HOPS, &s->ttl, sizeof(s->ttl)) < 0) + setsockopt(s->fd, SOL_IPV6, IPV6_UNICAST_HOPS, &s->ttl, sizeof(s->ttl)) < 0) return "IPV6_UNICAST_HOPS"; #else if (setsockopt(s->fd, SOL_IP, IP_TTL, &s->ttl, sizeof(s->ttl)) < 0) |