]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
* init.c: document the ENABLE_MANAGEMENT place to work on
authorJuanJo Ciarlante <jjo@google.com>
Mon, 28 Sep 2009 11:47:16 +0000 (13:47 +0200)
committerJuanJo Ciarlante <juanjosec@gmail.com>
Fri, 25 Mar 2011 12:30:29 +0000 (13:30 +0100)
TODO.ipv6
init.c

index 55602f9d0d51c6e621ba2e19be025f53a9b5ff96..edeb5507fcaedf80bea90812933e60d623cde607 100644 (file)
--- a/TODO.ipv6
+++ b/TODO.ipv6
@@ -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 
diff --git a/init.c b/init.c
index ee479cf9b98b9ef0119a14ae38267b3139815385..4cab0b3d093d4869e28f7ce104e5f071c90e7cd2 100644 (file)
--- 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";