projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fab8fad
)
ofp-util: Fix starting offset of OpenFlow error messages.
author
Justin Pettit
<jpettit@nicira.com>
Wed, 8 Dec 2010 23:35:54 +0000
(15:35 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Thu, 9 Dec 2010 00:17:07 +0000
(16:17 -0800)
lib/ofp-util.c
patch
|
blob
|
history
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index f37b644b672015d086420361b811169c61b95f67..471ed5169a666b413b00a4541507cc8ff34faca8 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);
}