Revision 1389f369 sysdep/unix/io.c

View differences:

sysdep/unix/io.c
616 616
  int one = 1;
617 617
#ifdef IPV6
618 618
  if (s->type != SK_UDP_MC && s->type != SK_IP_MC &&
619
      setsockopt(fd, SOL_IPV6, IPV6_UNICAST_HOPS, &s->ttl, sizeof(s->ttl)) < 0)
619
      setsockopt(s->fd, SOL_IPV6, IPV6_UNICAST_HOPS, &s->ttl, sizeof(s->ttl)) < 0)
620 620
    return "IPV6_UNICAST_HOPS";
621 621
#else
622 622
  if (setsockopt(s->fd, SOL_IP, IP_TTL, &s->ttl, sizeof(s->ttl)) < 0)

Also available in: Unified diff