]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
* init.c: small in-doc tweaks
authorJuanJo Ciarlante <jjo@google.com>
Mon, 28 Sep 2009 17:51:54 +0000 (19:51 +0200)
committerJuanJo Ciarlante <juanjosec@gmail.com>
Fri, 25 Mar 2011 12:30:29 +0000 (13:30 +0100)
init.c

diff --git a/init.c b/init.c
index 4cab0b3d093d4869e28f7ce104e5f071c90e7cd2..ed508b826f95d2c09be11cd1f8a984eb3d192f1a 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1151,7 +1151,10 @@ initialization_sequence_completed (struct context *c, const unsigned int flags)
       if (c->c1.tuntap)
        tun_local = c->c1.tuntap->local;
       /* TODO(jjo): for ipv6 this will convert some 32bits in the ipv6 addr
-       *            to a meaningless ipv4 address */
+       *            to a meaningless ipv4 address.
+       *            In any case, is somewhat inconsistent to send local tunnel
+       *            addr with remote _endpoint_ addr (?)
+       */
       tun_remote = htonl (c->c1.link_socket_addr.actual.dest.addr.in4.sin_addr.s_addr);
       if (flags & ISC_ERRORS)
        detail = "ERROR";