]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
add some TODOs to TODO.IPv6
authorGert Doering <gert@greenie.muc.de>
Tue, 16 Feb 2010 14:40:31 +0000 (15:40 +0100)
committerGert Doering <gert@greenie.muc.de>
Sun, 24 Apr 2011 15:22:36 +0000 (17:22 +0200)
--version: change printing of IPv6 payload patch version to [...] style
fix "make check" regression in tun.c (unnecessary change reverted)

ChangeLog.IPv6
TODO.IPv6
options.c
tun.c

index 488157814aef74439b4c1cf3b83305b6f9a136d3..f32df8bc99ca026a12e186ec2ad4dd1a53fa7b4f 100644 (file)
@@ -229,3 +229,14 @@ Thu Jan 14 15:41:50 CET 2010
     to be pointed out clearly.
 
   * release as patch 20100114-1
+
+Tue Feb 16 14:43:28 CET 2010
+
+  * options.c: print "IPv6 payload patch" release date in "--version"
+
+  * tun.c: undo change to init_tun() (moving "bool tun" and call to
+    "is_tun_p2p()" further up) - it wasn't needed and breaks "make check"
+
+  * git stuff: rebase on David Sommerseth's openvpn-testing git tree
+
+  * release as patch 20100216-1
index 3ea69a569bf4c64b77058124eedc934e020e9382..9437edb393d7e650feb4bbb38739c97bd175a6ad 100644 (file)
--- a/TODO.IPv6
+++ b/TODO.IPv6
@@ -69,3 +69,16 @@ tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
      silently ignore DAD?  
         Or accept-and-forward iff (multicast && client2client)?
      handle NS/NA
+
+13.) from Martin List-Petersen:
+
+       One thing, and I guess this requires modifications in
+       network-manager-openvpn: It also works, BUT ignores "push
+       route-ipv6-gateway" and "push route-ipv6 ...." (obviously routes pushed
+       from the server) entirely.
+
+14.) from ##openvpn-discussion:
+
+       new features should be #ifdef'ed
+
+       (check whether this is feasible at all)
index fcc2d9d99a274f54acd3364277859f1ad0845e5f..1ff7b6b702351ff4e9f56548cde8f18f18fc020d 100644 (file)
--- a/options.c
+++ b/options.c
@@ -80,6 +80,7 @@ const char title_string[] =
 #ifdef ENABLE_EUREPHIA
   " [eurephia]"
 #endif
+  " [IPv6 payload 20100216-1]"
   " built on " __DATE__
 ;
 
diff --git a/tun.c b/tun.c
index 37560e2faebbefd2a33d5bdaedd21f2defa40c81..9dcd9e6fbf8a2bb39bbb625686b8ded988e591f4 100644 (file)
--- a/tun.c
+++ b/tun.c
@@ -433,7 +433,6 @@ init_tun (const char *dev,       /* --dev option */
 {
   struct gc_arena gc = gc_new ();
   struct tuntap *tt;
-  bool tun;
 
   ALLOC_OBJ (tt, struct tuntap);
   clear_tuntap (tt);
@@ -441,17 +440,18 @@ init_tun (const char *dev,       /* --dev option */
   tt->type = dev_type_enum (dev, dev_type);
   tt->topology = topology;
 
-  /*
-   * We only handle TUN/TAP devices here, not --dev null devices.
-   */
-  tun = is_tun_p2p (tt);
-
   if (ifconfig_local_parm && ifconfig_remote_netmask_parm)
     {
+      bool tun = false;
       const char *ifconfig_local = NULL;
       const char *ifconfig_remote_netmask = NULL;
       const char *ifconfig_broadcast = NULL;
 
+      /*
+       * We only handle TUN/TAP devices here, not --dev null devices.
+       */
+      tun = is_tun_p2p (tt);
+
       /*
        * Convert arguments to binary IPv4 addresses.
        */