summaryrefslogtreecommitdiff
path: root/slirp/socket.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2009-06-24 14:42:29 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 08:52:46 -0500
commit9f349498af2194915f37f99b67f709ff27458dd2 (patch)
tree16eabc212e4cdc675b04deba1634a64978834c8d /slirp/socket.c
parent0fe6a7f28455cd003b2668e77d5bd1e1cf15309e (diff)
slirp: Cleanup and basic reanimation of debug code
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'slirp/socket.c')
-rw-r--r--slirp/socket.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/slirp/socket.c b/slirp/socket.c
index a911b29d9..f7b212fba 100644
--- a/slirp/socket.c
+++ b/slirp/socket.c
@@ -584,7 +584,8 @@ tcp_listen(u_int32_t haddr, u_int hport, u_int32_t laddr, u_int lport, int flags
socklen_t addrlen = sizeof(addr);
DEBUG_CALL("tcp_listen");
- DEBUG_ARG("port = %d", port);
+ DEBUG_ARG("haddr = %x", haddr);
+ DEBUG_ARG("hport = %d", hport);
DEBUG_ARG("laddr = %x", laddr);
DEBUG_ARG("lport = %d", lport);
DEBUG_ARG("flags = %x", flags);