[Pkg-privacy-commits] [onioncat] 35/340: git-svn-id: http://www.cypherpunk.at/svn/onioncat/trunk at 176 58e1ccc2-750e-0410-8d0d-f93ca75ab447

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 13:04:22 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 eadd416ee641e28631bf71b0e1146c3955c23cf4
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date:   Fri Mar 21 21:15:00 2008 +0000

    git-svn-id: http://www.cypherpunk.at/svn/onioncat/trunk@176 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
 ocatroute.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ocatroute.c b/ocatroute.c
index 98a4a3a..0c17ce6 100644
--- a/ocatroute.c
+++ b/ocatroute.c
@@ -402,7 +402,7 @@ void *socket_receiver(void *p)
                }
                pthread_mutex_unlock(&peer_mutex_);
             
-               log_msg(L_DEBUG, "writing to tun %d framesize %d", tunfd_[1], len + 4);
+               log_msg(L_DEBUG, "writing to tun %d framesize %d + 4", tunfd_[1], len);
                if (write(tunfd_[1], &peer->fraghdr, len + 4) != (len + 4))
                   log_msg(L_ERROR, "could not write %d bytes to tunnel %d", len + 4, tunfd_[1]);
 
@@ -699,20 +699,20 @@ void packet_forwarder(void)
          continue;
       }
 
-      log_msg(L_DEBUG, "[packet_forwarder] received on tunfd %d, framesize %d", tunfd_[0], rlen);
+      log_msg(L_DEBUG, "received on tunfd %d, framesize %d + 4", tunfd_[0], rlen - 4);
 
       if (!validate_frame(ihd, rlen - 4))
       {
-         log_msg(L_ERROR, "[packet_forwarder] dropping frame");
+         log_msg(L_ERROR, "dropping frame");
          continue;
       }
 
       // now forward either directly or to the queue
       if (!forward_packet(&ihd->ip6_dst, buf + 4, rlen - 4))
       {
-         log_msg(L_NOTICE, "[packet_forwarder] establishing new socks peer");
+         log_msg(L_NOTICE, "establishing new socks peer");
          socks_queue(&ihd->ip6_dst);
-         log_msg(L_DEBUG, "[packet_forwarder] queuing packet");
+         log_msg(L_DEBUG, "queuing packet");
          queue_packet(&ihd->ip6_dst, buf + 4, rlen - 4);
       }
    }

-- 
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