[pisa-src] r1489 - trunk/pisacd/cdtun.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 02 Nov 2009 17:12:34 +0100

Author: tjansen
Date: Mon Nov  2 17:12:34 2009
New Revision: 1489

Log:
Fixed outdated comment.

Modified:
   trunk/pisacd/cdtun.c

Modified: trunk/pisacd/cdtun.c
==============================================================================
--- trunk/pisacd/cdtun.c        Mon Nov  2 16:59:20 2009        (r1488)
+++ trunk/pisacd/cdtun.c        Mon Nov  2 17:12:34 2009        (r1489)
@@ -153,10 +153,7 @@
 
                /* TODO: buffer packets until connection was established? */
        } else {
-               /* Send the packet to the data port of the connection entry.
-                * We use the control socket as sending socket, because
-                * on the server side this connection is associated with the
-                * control socket address and port number! */
+               /* Send the packet to the data port of the connection entry */
                if (sendto(cd_ctx.fd_data, buffer, len + 6, 0, (struct sockaddr 
*)&entry->saddr_data, sizeof(struct sockaddr_in6)) == -1) {
                        PISA_ERROR("local -> remote: sendto failed: %s\n", 
strerror(errno));
                } else {

Other related posts:

  • » [pisa-src] r1489 - trunk/pisacd/cdtun.c - Thomas Jansen