Message ID | 1279225380-28790-4-git-send-email-miguel.filho@gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/net/tap.c b/net/tap.c index 0147dab..5bd069b 100644 --- a/net/tap.c +++ b/net/tap.c @@ -442,6 +442,9 @@ int net_init_tap(QemuOpts *opts, Monitor *mon, const char *name, VLANState *vlan return -1; } + /* XXX: Handle dump and dumplen here */ + s->nc.dump = net_client_create_dump("/tmp/tap0.dump", 0); + if (tap_set_sndbuf(s->fd, opts) < 0) { return -1; }
Signed-off-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com> --- net/tap.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)