Browse code

add some TODOs to TODO.IPv6 --version: change printing of IPv6 payload patch version to [...] style fix "make check" regression in tun.c (unnecessary change reverted)

Gert Doering authored on 2010/02/16 23:40:31
Showing 4 changed files
... ...
@@ -229,3 +229,14 @@ Thu Jan 14 15:41:50 CET 2010
229 229
     to be pointed out clearly.
230 230
 
231 231
   * release as patch 20100114-1
232
+
233
+Tue Feb 16 14:43:28 CET 2010
234
+
235
+  * options.c: print "IPv6 payload patch" release date in "--version"
236
+
237
+  * tun.c: undo change to init_tun() (moving "bool tun" and call to
238
+    "is_tun_p2p()" further up) - it wasn't needed and breaks "make check"
239
+
240
+  * git stuff: rebase on David Sommerseth's openvpn-testing git tree
241
+
242
+  * release as patch 20100216-1
... ...
@@ -69,3 +69,16 @@ tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
69 69
      silently ignore DAD?  
70 70
         Or accept-and-forward iff (multicast && client2client)?
71 71
      handle NS/NA
72
+
73
+13.) from Martin List-Petersen:
74
+
75
+	One thing, and I guess this requires modifications in
76
+	network-manager-openvpn: It also works, BUT ignores "push
77
+	route-ipv6-gateway" and "push route-ipv6 ...." (obviously routes pushed
78
+	from the server) entirely.
79
+
80
+14.) from ##openvpn-discussion:
81
+
82
+	new features should be #ifdef'ed
83
+
84
+	(check whether this is feasible at all)
... ...
@@ -80,6 +80,7 @@ const char title_string[] =
80 80
 #ifdef ENABLE_EUREPHIA
81 81
   " [eurephia]"
82 82
 #endif
83
+  " [IPv6 payload 20100216-1]"
83 84
   " built on " __DATE__
84 85
 ;
85 86
 
... ...
@@ -433,7 +433,6 @@ init_tun (const char *dev,       /* --dev option */
433 433
 {
434 434
   struct gc_arena gc = gc_new ();
435 435
   struct tuntap *tt;
436
-  bool tun;
437 436
 
438 437
   ALLOC_OBJ (tt, struct tuntap);
439 438
   clear_tuntap (tt);
... ...
@@ -441,18 +440,19 @@ init_tun (const char *dev,       /* --dev option */
441 441
   tt->type = dev_type_enum (dev, dev_type);
442 442
   tt->topology = topology;
443 443
 
444
-  /*
445
-   * We only handle TUN/TAP devices here, not --dev null devices.
446
-   */
447
-  tun = is_tun_p2p (tt);
448
-
449 444
   if (ifconfig_local_parm && ifconfig_remote_netmask_parm)
450 445
     {
446
+      bool tun = false;
451 447
       const char *ifconfig_local = NULL;
452 448
       const char *ifconfig_remote_netmask = NULL;
453 449
       const char *ifconfig_broadcast = NULL;
454 450
 
455 451
       /*
452
+       * We only handle TUN/TAP devices here, not --dev null devices.
453
+       */
454
+      tun = is_tun_p2p (tt);
455
+
456
+      /*
456 457
        * Convert arguments to binary IPv4 addresses.
457 458
        */
458 459