diff options
-rw-r--r-- | init.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"; |