Skip to content
Snippets Groups Projects
Commit 24ac3a7d authored by Vincent Palatin's avatar Vincent Palatin Committed by Blue Swirl
Browse files

net: fix trace when debug is activated in slirp


make the code compile correctly when DEBUG is activated.

Signed-off-by: default avatarVincent Palatin <vpalatin@chromium.org>
Signed-off-by: default avatarBlue Swirl <blauwirbel@gmail.com>
parent 4e655712
No related branches found
No related tags found
No related merge requests found
......@@ -284,7 +284,7 @@ static void bootp_reply(Slirp *slirp, const struct bootp_t *bp)
} else {
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++ = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment