shithub: riscv

Download patch

ref: 55b73cbbbf687f8ec40273a3780d72bedb37f818
parent: b9b6fcd85fc186e3f7f9cc780272137499a9b3a1
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Jun 12 15:50:04 EDT 2018

ip/dhcp6d: don't drink and code

--- a/sys/src/cmd/ip/dhcp6d.c
+++ b/sys/src/cmd/ip/dhcp6d.c
@@ -148,7 +148,7 @@
 		if(strcmp(ifc->dev, "/dev/null") == 0)
 			continue;
 		for(lifc = ifc->lifc; lifc != nil; lifc = lifc->next){
-			if(ISIPV6LINKLOCAL(lifc->ip))
+			if(!ISIPV6LINKLOCAL(lifc->ip))
 				continue;
 			if(fprint(cfd, "addmulti %I ff02::1:2", lifc->ip) < 0)
 				fprint(2, "addmulti: %I: %r\n", lifc->ip);