diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-08-26 23:05:45 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2018-08-26 23:05:45 +0200 |
| commit | cff1ab5fdf116183845581953ee4d8e2665770d4 (patch) | |
| tree | c20b59d7a296662850edb055f951bef8e3b88396 | |
| parent | c35027e03deb38af50b6ac5ce26d7c808b7594d5 (diff) | |
| download | plan9front-cff1ab5fdf116183845581953ee4d8e2665770d4.tar.xz | |
ip/ipconfig: add missing {} as DEBUG() is a macro
| -rw-r--r-- | sys/src/cmd/ip/ipconfig/ipv6.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/src/cmd/ip/ipconfig/ipv6.c b/sys/src/cmd/ip/ipconfig/ipv6.c index 439985454..a4de8fca4 100644 --- a/sys/src/cmd/ip/ipconfig/ipv6.c +++ b/sys/src/cmd/ip/ipconfig/ipv6.c @@ -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); + } } /* |
