diff options
author | mich <mich@FreeBSD.org> | 2005-07-26 18:22:10 +0800 |
---|---|---|
committer | mich <mich@FreeBSD.org> | 2005-07-26 18:22:10 +0800 |
commit | 8bf7b3e883cfb75fb1701491df64068ec93327eb (patch) | |
tree | 39af44da8a73c4efcd31654e9e3e2496caf89b5e /net | |
parent | 58f0bc5ec203f4ad958d6e315861570d865f146a (diff) | |
download | freebsd-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.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; |