ip/ipconfig: add missing {} as DEBUG() is a macro
This commit is contained in:
parent
c35027e03d
commit
cff1ab5fdf
1 changed files with 3 additions and 2 deletions
|
@ -445,12 +445,13 @@ sendrs(int fd, uchar *dst)
|
||||||
pktlen += 8 * llao->len;
|
pktlen += 8 * llao->len;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(write(fd, rs, pktlen) != pktlen)
|
if(write(fd, rs, pktlen) != pktlen){
|
||||||
DEBUG("sendrs: write failed, pkt size %d", pktlen);
|
DEBUG("sendrs: write failed, pkt size %d", pktlen);
|
||||||
else
|
} else {
|
||||||
DEBUG("sendrs: sent solicitation to %I from %I on %s",
|
DEBUG("sendrs: sent solicitation to %I from %I on %s",
|
||||||
rs->dst, rs->src, conf.dev);
|
rs->dst, rs->src, conf.dev);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* a router receiving a router adv from another
|
* a router receiving a router adv from another
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue