summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3936656)
raw | patch | inline | side by side (parent: 3936656)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 13 Oct 2011 13:39:18 +0000 (15:39 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 13 Oct 2011 13:39:18 +0000 (15:39 +0200) |
debian/changelog | patch | blob | history | |
debian/patches/recvtos | [new file with mode: 0644] | patch | blob |
debian/patches/series | [new file with mode: 0644] | patch | blob |
diff --git a/debian/changelog b/debian/changelog
index 91f207991c59e331088e7f1f3d1f9526fcf2b7ca..2d62a9106ca7df0cea69d2847eaa50ae77489e53 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
- Switched to '3.0 (quilt)' format.
* debian/control:
- Added Barak to uploaders.
+ * debian/patches:
+ - Added recvtos -- patch for #618729 (missing IP_RECVTOS on FreeBSD) as
+ separate patch.
- -- Sebastian Harl <tokkee@debian.org> Thu, 13 Oct 2011 15:36:35 +0200
+ -- Sebastian Harl <tokkee@debian.org> Thu, 13 Oct 2011 15:38:23 +0200
liboping (1.6.1+2.g207d51d-1.1) unstable; urgency=low
diff --git a/debian/patches/recvtos b/debian/patches/recvtos
--- /dev/null
+++ b/debian/patches/recvtos
@@ -0,0 +1,15 @@
+--- a/src/liboping.c
++++ b/src/liboping.c
+@@ -1540,10 +1540,12 @@
+ {
+ int opt;
+
++#ifdef IP_RECVTOS
+ /* Enable receiving the TOS field */
+ opt = 1;
+ setsockopt (ph->fd, IPPROTO_IP, IP_RECVTOS,
+ &opt, sizeof (opt));
++#endif /* IP_RECVTOS */
+
+ /* Enable receiving the TTL field */
+ opt = 1;
diff --git a/debian/patches/series b/debian/patches/series
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+recvtos