diff options
author | Michael Landin <mich@FreeBSD.org> | 2005-07-26 10:22:10 +0000 |
---|---|---|
committer | Michael Landin <mich@FreeBSD.org> | 2005-07-26 10:22:10 +0000 |
commit | 3b5a53ccb266ce18f3c05d6cd7cc4003298dc4d7 (patch) | |
tree | b49d2f2e7c56cb3fc2b1f334503783207f41b0fa /net/apinger | |
parent | 795e596864b8ce105d5701deeba172697c20a83f (diff) |
o add patch to fix problem with icmp header type control message
PR: ports/84018
Submitted by: Louis Mamakos <louie@transsys.com>
Notes
Notes:
svn path=/head/; revision=140138
Diffstat (limited to 'net/apinger')
-rw-r--r-- | net/apinger/files/patch-src_icmp.c | 14 |
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; |