Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
pg: icmp4 & tcp4 ip length issue
[vpp.git]
/
src
/
vnet
/
unix
/
pcap2pg.c
diff --git
a/src/vnet/unix/pcap2pg.c
b/src/vnet/unix/pcap2pg.c
index
46d6bfc
..
712907a
100644
(file)
--- a/
src/vnet/unix/pcap2pg.c
+++ b/
src/vnet/unix/pcap2pg.c
@@
-164,7
+164,7
@@
main (int argc, char **argv)
if (output_file)
{
- ofp = fopen ((char *) output_file, "
rw
");
+ ofp = fopen ((char *) output_file, "
w+
");
if (ofp == NULL)
clib_unix_warning ("Couldn't create '%s'", output_file);
exit (1);