[Pkg-privacy-commits] [onioncat] 05/340: git-svn-id: http://www.cypherpunk.at/svn/onioncat/trunk at 119 58e1ccc2-750e-0410-8d0d-f93ca75ab447
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:04:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository onioncat.
commit cadbdcf9c7e415bc108d78273b54eccad63773c2
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date: Thu Feb 7 12:40:54 2008 +0000
git-svn-id: http://www.cypherpunk.at/svn/onioncat/trunk@119 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
ocatroute.c | 2 +-
ocattun.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ocatroute.c b/ocatroute.c
index 7074d91..7359508 100644
--- a/ocatroute.c
+++ b/ocatroute.c
@@ -452,7 +452,7 @@ void *socket_receiver(void *p)
{
*(((uint32_t*) ihd) - 1) = htonl(AF_INET6);
write(tunfd_[1], ((uint32_t*) ihd) - 1, plen + 4 + IP6HLEN);
- ihd = (char*) ihd + plen + IP6HLEN;
+ ihd = (struct ip6_hdr*) ((char*) ihd + plen + IP6HLEN)
len -= plen + IP6HLEN;
plen = validate_frame(ihd, len);
}
diff --git a/ocattun.c b/ocattun.c
index 0843b64..6bf05e3 100644
--- a/ocattun.c
+++ b/ocattun.c
@@ -17,6 +17,7 @@
#include <sys/ioctl.h>
#include <fcntl.h>
#include <arpa/inet.h>
+#include <netinet/in.h>
#include <netinet/ip6.h>
#include <net/if.h>
#include <errno.h>
--
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