summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorJuanJo Ciarlante <jjo@google.com>2009-09-28 19:51:54 +0200
committerJuanJo Ciarlante <juanjosec@gmail.com>2011-03-25 13:30:29 +0100
commitead3784086e76add44d53b0ffa87e3a8bd3fa8c7 (patch)
treef1668bfcdf3f7125045d42ad78bd6fbcc1d95ef7 /init.c
parent2d7da344969a83d7b0e1dfadeddae1271f07fe4c (diff)
downloadopenvpn-ead3784086e76add44d53b0ffa87e3a8bd3fa8c7.tar.gz
openvpn-ead3784086e76add44d53b0ffa87e3a8bd3fa8c7.tar.xz
openvpn-ead3784086e76add44d53b0ffa87e3a8bd3fa8c7.zip
* init.c: small in-doc tweaks
Diffstat (limited to 'init.c')
-rw-r--r--init.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/init.c b/init.c
index 4cab0b3..ed508b8 100644
--- 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";