Message ID | 1279225380-28790-5-git-send-email-miguel.filho@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/net/slirp.c b/net/slirp.c index b41c60a..5823699 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -240,6 +240,9 @@ static int net_slirp_init(VLANState *vlan, const char *model, nc = qemu_new_net_client(&net_slirp_info, vlan, NULL, model, name); + /* XXX: Handle dump and dumplen here */ + nc->dump = net_client_create_dump("/tmp/slirp.pcap", 0); + snprintf(nc->info_str, sizeof(nc->info_str), "net=%s, restricted=%c", inet_ntoa(net), restricted ? 'y' : 'n');
Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com> --- net/slirp.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)