projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release Open vSwitch 0.99.0.
[openvswitch]
/
lib
/
pcap.c
diff --git
a/lib/pcap.c
b/lib/pcap.c
index 4330c575dc8f9b4d207f9e87042edfcf47c6a0bd..967bb5c34b8cf9ceb77afd60be504457c6dbe43e 100644
(file)
--- a/
lib/pcap.c
+++ b/
lib/pcap.c
@@
-128,7
+128,7
@@
pcap_read(FILE *file, struct ofpbuf **bufp)
((len & 0x0000ff00) << 8) |
((len & 0x000000ff) << 24));
if (swapped_len > 0xffff) {
((len & 0x0000ff00) << 8) |
((len & 0x000000ff) << 24));
if (swapped_len > 0xffff) {
- VLOG_WARN("bad packet length %
"PRIu32"
or %"PRIu32" "
+ VLOG_WARN("bad packet length %
zu
or %"PRIu32" "
"reading pcap file",
len, swapped_len);
return EPROTO;
"reading pcap file",
len, swapped_len);
return EPROTO;