mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-15 06:01:58 -06:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue