From 24ac3a7d4eacea38d514dbf50baa845e5bc6840b Mon Sep 17 00:00:00 2001 From: Vincent Palatin Date: Wed, 2 Mar 2011 17:25:01 -0500 Subject: [PATCH] net: fix trace when debug is activated in slirp make the code compile correctly when DEBUG is activated. Signed-off-by: Vincent Palatin Signed-off-by: Blue Swirl --- slirp/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slirp/bootp.c b/slirp/bootp.c index 0905c6d1be..1eb2ed1143 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c @@ -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; -- GitLab