git: 9front

Download patch

ref: abfae218827eb744fda2915c5d363c7be180a2b8
parent: 56fa98c3016e2af24d886a27e2bc3d55bb9d4c76
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 26 19:05:45 EDT 2018

ip/ipconfig: add missing {} as DEBUG() is a macro

--- a/sys/src/cmd/ip/ipconfig/ipv6.c
+++ b/sys/src/cmd/ip/ipconfig/ipv6.c
@@ -445,11 +445,12 @@
 		pktlen += 8 * llao->len;
 	}
 
-	if(write(fd, rs, pktlen) != pktlen)
+	if(write(fd, rs, pktlen) != pktlen){
 		DEBUG("sendrs: write failed, pkt size %d", pktlen);
-	else
+	} else {
 		DEBUG("sendrs: sent solicitation to %I from %I on %s",
 			rs->dst, rs->src, conf.dev);
+	}
 }
 
 /*
--