Commit ff5d4d71 authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

net_wire: avoid segfault without pcap file

parent 2e3b2352
......@@ -164,6 +164,7 @@ int main(int argc, char *argv[])
cur_ts = ts_b;
}
if (dumpfile)
pcap_dump_close(dumpfile);
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment