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

This commit is contained in:
cinap_lenrek 2018-08-26 23:05:45 +02:00
parent c35027e03d
commit cff1ab5fdf

View file

@ -445,11 +445,12 @@ sendrs(int fd, uchar *dst)
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);
}
}
/*