aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2005-07-26 18:22:10 +0800
committermich <mich@FreeBSD.org>2005-07-26 18:22:10 +0800
commit8bf7b3e883cfb75fb1701491df64068ec93327eb (patch)
tree39af44da8a73c4efcd31654e9e3e2496caf89b5e /net
parent58f0bc5ec203f4ad958d6e315861570d865f146a (diff)
downloadfreebsd-ports-gnome-8bf7b3e883cfb75fb1701491df64068ec93327eb.tar.gz
freebsd-ports-gnome-8bf7b3e883cfb75fb1701491df64068ec93327eb.tar.zst
freebsd-ports-gnome-8bf7b3e883cfb75fb1701491df64068ec93327eb.zip
o add patch to fix problem with icmp header type control message
PR: ports/84018 Submitted by: Louis Mamakos <louie@transsys.com>
Diffstat (limited to 'net')
-rw-r--r--net/apinger/files/patch-src_icmp.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/apinger/files/patch-src_icmp.c b/net/apinger/files/patch-src_icmp.c
new file mode 100644
index 000000000000..f1849acfdc68
--- /dev/null
+++ b/net/apinger/files/patch-src_icmp.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- src/icmp.c.orig
++++ src/icmp.c
+@@ -197,7 +197,7 @@
+ debug("checking CMSG...");
+ for (c = CMSG_FIRSTHDR(&msg); c; c = CMSG_NXTHDR(&msg, c)) {
+ debug("CMSG level: %i type: %i",c->cmsg_level,c->cmsg_type);
+- if (c->cmsg_level != SOL_SOCKET || c->cmsg_type != SO_TIMESTAMP)
++ if (c->cmsg_level != SOL_SOCKET || c->cmsg_type != SCM_TIMESTAMP)
+ continue;
+ if (c->cmsg_len < CMSG_LEN(sizeof(struct timeval)))
+ continue;