]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
tun: Fix weird commit error causing a double assignment
authorDavid Sommerseth <davids@openvpn.net>
Wed, 16 Nov 2016 18:38:15 +0000 (19:38 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 16 Nov 2016 18:43:53 +0000 (19:43 +0100)
When committing 7756043c01dd0b, something odd happened causing
the patch to have a duplicate 'ifconfig_ipv6_remote =' assignment.

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1479321495-1339-1-git-send-email-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13103.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/tun.c

index 3815f0fc8c21ac3a1f432b2256acddc0c8a1a533..77ae72fa804ed8df014a275b6f23d053c27e9679 100644 (file)
@@ -975,7 +975,7 @@ do_ifconfig (struct tuntap *tt,
          if ( tt->type == DEV_TYPE_TUN )
           {
              const char *ifconfig_ipv6_remote =
-                ifconfig_ipv6_remote = print_in6_addr (tt->remote_ipv6, 0, &gc);
+                print_in6_addr (tt->remote_ipv6, 0, &gc);
 
              argv_printf (&argv,
                            "%s %s inet6 plumb %s/%d %s up",