diff options
author | blueswir1 | 2007-10-26 20:42:59 +0200 |
---|---|---|
committer | blueswir1 | 2007-10-26 20:42:59 +0200 |
commit | 31a60e22752d3daaa248ca10930f3cf4bc5f02e8 (patch) | |
tree | 18f5bd36118d98e2004fc0e5af866a280667278c /slirp/icmp_var.h | |
parent | Fix Windows build failure, by Stefan Weil. (diff) | |
download | qemu-31a60e22752d3daaa248ca10930f3cf4bc5f02e8.tar.gz qemu-31a60e22752d3daaa248ca10930f3cf4bc5f02e8.tar.xz qemu-31a60e22752d3daaa248ca10930f3cf4bc5f02e8.zip |
Make Slirp statistics gathering and output conditional to LOG_ENABLED
Add 'info slirp' command to monitor to display statistics
Disable Slirp debugging code by default
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3451 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp/icmp_var.h')
-rw-r--r-- | slirp/icmp_var.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slirp/icmp_var.h b/slirp/icmp_var.h index 03fc8c3ac7..cd865b7971 100644 --- a/slirp/icmp_var.h +++ b/slirp/icmp_var.h @@ -64,6 +64,8 @@ struct icmpstat { { "stats", CTLTYPE_STRUCT }, \ } +#ifdef LOG_ENABLED extern struct icmpstat icmpstat; +#endif #endif |