diff -Nur iputils.p8/ping6.c iputils/ping6.c --- iputils.p8/ping6.c 2008-01-07 13:24:25 +0300 +++ iputils/ping6.c 2008-01-07 13:28:47 +0300 @@ -486,7 +486,7 @@ if (1) { int on = 1; - if (setsockopt(icmp_sock, IPPROTO_IPV6, IPV6_HOPLIMIT, + if (setsockopt(icmp_sock, IPPROTO_IPV6, IPV6_2292HOPLIMIT, &on, sizeof(on)) == -1) { perror ("can't receive hop limit"); exit(2); @@ -704,7 +704,7 @@ for (c = CMSG_FIRSTHDR(msg); c; c = CMSG_NXTHDR(msg, c)) { if (c->cmsg_level != SOL_IPV6 || - c->cmsg_type != IPV6_HOPLIMIT) + c->cmsg_type != IPV6_2292HOPLIMIT) continue; if (c->cmsg_len < CMSG_LEN(sizeof(int))) continue; diff -Nur iputils.p8/tracepath6.c iputils/tracepath6.c --- iputils.p8/tracepath6.c 2008-01-07 13:24:25 +0300 +++ iputils/tracepath6.c 2008-01-07 13:29:59 +0300 @@ -113,7 +113,7 @@ if (cmsg->cmsg_level == SOL_IPV6) { if (cmsg->cmsg_type == IPV6_RECVERR) { e = (struct sock_extended_err *)CMSG_DATA(cmsg); - } else if (cmsg->cmsg_type == IPV6_HOPLIMIT) { + } else if (cmsg->cmsg_type == IPV6_2292HOPLIMIT) { rethops = *(int*)CMSG_DATA(cmsg); } } else if (cmsg->cmsg_level == SOL_IP) { @@ -359,7 +359,7 @@ perror("IP_RECVERR"); exit(1); } - if (setsockopt(fd, SOL_IPV6, IPV6_HOPLIMIT, &on, sizeof(on))) { + if (setsockopt(fd, SOL_IPV6, IPV6_2292HOPLIMIT, &on, sizeof(on))) { perror("IPV6_HOPLIMIT"); exit(1); }