net: fix trace when debug is activated in slirp
make the code compile correctly when DEBUG is activated. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
4e6557124c
commit
24ac3a7d4e
@ -284,7 +284,7 @@ static void bootp_reply(Slirp *slirp, const struct bootp_t *bp)
|
|||||||
} else {
|
} else {
|
||||||
static const char nak_msg[] = "requested address not available";
|
static const char nak_msg[] = "requested address not available";
|
||||||
|
|
||||||
DPRINTF("nak'ed addr=%08x\n", ntohl(preq_addr->s_addr));
|
DPRINTF("nak'ed addr=%08x\n", ntohl(preq_addr.s_addr));
|
||||||
|
|
||||||
*q++ = RFC2132_MSG_TYPE;
|
*q++ = RFC2132_MSG_TYPE;
|
||||||
*q++ = 1;
|
*q++ = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user