* init.c: small in-doc tweaks

This commit is contained in:
JuanJo Ciarlante 2009-09-28 19:51:54 +02:00 committed by JuanJo Ciarlante
parent 2d7da34496
commit ead3784086

5
init.c
View file

@ -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";