summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorJuanJo Ciarlante <jjo@google.com>2009-09-28 13:47:16 +0200
committerJuanJo Ciarlante <juanjosec@gmail.com>2011-03-25 13:30:29 +0100
commit2d7da344969a83d7b0e1dfadeddae1271f07fe4c (patch)
treed08a47a1797bbd9214a0166bf1cc3224334185b5 /init.c
parentbf006408d08253f1b86c491e44e75ef8ca2e3e9b (diff)
downloadopenvpn-2d7da344969a83d7b0e1dfadeddae1271f07fe4c.tar.gz
openvpn-2d7da344969a83d7b0e1dfadeddae1271f07fe4c.tar.xz
openvpn-2d7da344969a83d7b0e1dfadeddae1271f07fe4c.zip
* init.c: document the ENABLE_MANAGEMENT place to work on
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.c b/init.c
index ee479cf..4cab0b3 100644
--- a/init.c
+++ b/init.c
@@ -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";