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

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 26 16:16:21 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 926490aa1b5d6d643776316cbb6fc836c7b2dfe8
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date:   Fri Mar 21 21:15:00 2008 +0000

    git-svn-id: https://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