Browse code

tun: Fix weird commit error causing a double assignment

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>

David Sommerseth authored on 2016/11/17 03:38:15
Showing 1 changed files
... ...
@@ -975,7 +975,7 @@ do_ifconfig (struct tuntap *tt,
975 975
 	  if ( tt->type == DEV_TYPE_TUN )
976 976
 	   {
977 977
 	      const char *ifconfig_ipv6_remote =
978
-                ifconfig_ipv6_remote = print_in6_addr (tt->remote_ipv6, 0, &gc);
978
+                print_in6_addr (tt->remote_ipv6, 0, &gc);
979 979
 
980 980
 	      argv_printf (&argv,
981 981
 			    "%s %s inet6 plumb %s/%d %s up",