Package: iputils
Version: 3:20020927-3
Severity: normal
Tags: patch

Hi,

Attached is the diff for my iputils 3:20020927-3.1 NMU.

-- 
see shy jo
diff -u iputils-20020927/ping6.c iputils-20020927/ping6.c
--- iputils-20020927/ping6.c
+++ iputils-20020927/ping6.c
@@ -482,7 +482,7 @@
 
        if (1) {
                int on = 1;
-               if (setsockopt(icmp_sock, IPPROTO_IPV6, IPV6_HOPLIMIT,
+               if (setsockopt(icmp_sock, IPPROTO_IPV6, IPV6_RECVHOPLIMIT,
                               &on, sizeof(on)) == -1) {
                        perror ("can't receive hop limit");
                        exit(2);
diff -u iputils-20020927/debian/changelog iputils-20020927/debian/changelog
--- iputils-20020927/debian/changelog
+++ iputils-20020927/debian/changelog
@@ -1,3 +1,13 @@
+iputils (3:20020927-3.1) unstable; urgency=low
+
+  * NMU
+  * Use IPV6_RECVHOPLIMIT instead of IPV6_HOPLIMIT in ping6 to build
+    with current kernel headers. Closes: #391601
+  * Explicitly build-depend on the current version of linux-kernel-headers
+    since older ones don't have IPV6_RECVHOPLIMIT.
+
+ -- Joey Hess <[EMAIL PROTECTED]>  Sat, 14 Oct 2006 23:48:44 -0400
+
 iputils (3:20020927-3) unstable; urgency=low
 
   * only requst AF_INET address in ping and tracepath, since these
diff -u iputils-20020927/debian/control iputils-20020927/debian/control
--- iputils-20020927/debian/control
+++ iputils-20020927/debian/control
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Noah Meyerhans <[EMAIL PROTECTED]>
 Standards-Version: 3.5.7.0
-Build-Depends: debhelper (>> 2), sp, sgmlspl, docbook
+Build-Depends: debhelper (>> 2), sp, sgmlspl, docbook, linux-kernel-headers 
(>= 2.6.18-3)
 
 Package: iputils-ping
 Architecture: any

Attachment: signature.asc
Description: Digital signature

Reply via email to