[Pkg-privacy-commits] [onioncat] 09/241: fixed freebsd frame header: linux AF_INET6 != freebsd AF_INET6
Intrigeri
intrigeri at moszumanska.debian.org
Wed Aug 26 16:16:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch upstream-master
in repository onioncat.
commit acb7791bb305d0b378b11e219076900d3253197e
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date: Thu Feb 7 17:52:56 2008 +0000
fixed freebsd frame header: linux AF_INET6 != freebsd AF_INET6
git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@123 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
ocatroute.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ocatroute.c b/ocatroute.c
index f390271..c43c463 100644
--- a/ocatroute.c
+++ b/ocatroute.c
@@ -57,7 +57,7 @@ void init_peers(void)
#ifdef linux
fhd_key_ = htonl(0x86dd);
#else
- fhd_key_ = htonl(AF_INET6);
+ fhd_key_ = htonl(0x1c);
#endif
}
@@ -110,7 +110,7 @@ void rewrite_framehdr(char *buf, int len)
while(len > 4)
{
- if (*fhd != htonl(AF_INET6) && *fhd != htonl(0x86dd))
+ if (*fhd != htonl(0x1c) && *fhd != htonl(0x86dd))
{
log_msg(L_DEBUG, "[rewrite_framehdr] frame seems to be fragment");
return;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git
More information about the Pkg-privacy-commits
mailing list