Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
ff5d4d71
"test/vscode:/vscode.git/clone" did not exist on "d39899e85c5c29b3aeb2ea36d19f59214de60336"
Commit
ff5d4d71
authored
Sep 14, 2020
by
Antoine Kaufmann
Browse files
net_wire: avoid segfault without pcap file
parent
2e3b2352
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net_wire/net_wire.c
net_wire/net_wire.c
+2
-1
No files found.
net_wire/net_wire.c
View file @
ff5d4d71
...
...
@@ -164,6 +164,7 @@ int main(int argc, char *argv[])
cur_ts
=
ts_b
;
}
if
(
dumpfile
)
pcap_dump_close
(
dumpfile
);
return
0
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment