diff options
| author | Vincent Palatin | 2011-03-02 23:25:01 +0100 |
|---|---|---|
| committer | Blue Swirl | 2011-03-05 13:00:51 +0100 |
| commit | 24ac3a7d4eacea38d514dbf50baa845e5bc6840b (patch) | |
| tree | b9dfee507fe42a67281df873930bb4dddd191e70 /slirp/bootp.c | |
| parent | linux-user: fix compile failure if !CONFIG_USE_GUEST_BASE (diff) | |
| download | qemu-24ac3a7d4eacea38d514dbf50baa845e5bc6840b.tar.gz qemu-24ac3a7d4eacea38d514dbf50baa845e5bc6840b.tar.xz qemu-24ac3a7d4eacea38d514dbf50baa845e5bc6840b.zip | |
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>
Diffstat (limited to 'slirp/bootp.c')
| -rw-r--r-- | slirp/bootp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
