提交 24ac3a7d 编写于 作者: V Vincent Palatin 提交者: Blue Swirl

net: fix trace when debug is activated in slirp

make the code compile correctly when DEBUG is activated.
Signed-off-by: NVincent Palatin <vpalatin@chromium.org>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 4e655712
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册