git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofp-util: Fix starting offset of OpenFlow error messages.
[sliver-openvswitch.git]
/
lib
/
ofp-util.c
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index
f37b644
..
471ed51
100644
(file)
--- a/
lib/ofp-util.c
+++ b/
lib/ofp-util.c
@@
-1995,6
+1995,7
@@
make_ofp_error_msg(int error, const struct ofp_header *oh)
}
if (len) {
+ buf->size -= len;
ofpbuf_put(buf, data, len);
}