Skip to contentSkip to conversation

tun: Fix weird commit error causing a double assignment

PATCH In review David Sommerseth 2 participants 2 messages Nov 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 src/openvpn/tun.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/openvpn/tun.c +1 -1
index 3815f0f..77ae72f 100644
@@ -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",
Signature · 1 line
1.8.3.1
#1 lore raw

ACK.

Your patch has been applied to the master branch.

commit 1de37f3b194e56ff3245b9e6cf22eaff54ca3efe

Author: David Sommerseth
Date:   Wed Nov 16 19:38:15 2016 +0100
     tun: Fix weird commit error causing a double assignment

     Signed-off-by: David Sommerseth <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg13103.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering