summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
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";