projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e65571
)
net: fix trace when debug is activated in slirp
author
Vincent Palatin
<vpalatin@chromium.org>
Wed, 2 Mar 2011 22:25:01 +0000
(17:25 -0500)
committer
Blue Swirl
<blauwirbel@gmail.com>
Sat, 5 Mar 2011 12:00:51 +0000
(12:00 +0000)
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>
slirp/bootp.c
patch
|
blob
|
history
diff --git
a/slirp/bootp.c
b/slirp/bootp.c
index 0905c6d1bee4e3f67edb16ff43bd707e30d632e4..1eb2ed11434df1d61d4a5f0ba447762a070194ab 100644
(file)
--- 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;