* init.c: document the ENABLE_MANAGEMENT place to work on

This commit is contained in:
JuanJo Ciarlante 2009-09-28 13:47:16 +02:00 committed by JuanJo Ciarlante
parent bf006408d0
commit 2d7da34496
2 changed files with 5 additions and 0 deletions

View file

@ -17,3 +17,6 @@
o find out about mapped addresses, as I can't make it work
with bound at ::1 and connect to 127.0.0.1
* N/A:
o this is ipv6 *endpoint* support, so don't expect "ifconfig6"-like
support in this patch

2
init.c
View file

@ -1150,6 +1150,8 @@ initialization_sequence_completed (struct context *c, const unsigned int flags)
const char *detail = "SUCCESS";
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 */
tun_remote = htonl (c->c1.link_socket_addr.actual.dest.addr.in4.sin_addr.s_addr);
if (flags & ISC_ERRORS)
detail = "ERROR";