[ovs-dev] [PATCH 1/2] ofp-util: Fix starting offset of OpenFlow error messages.
Justin Pettit
jpettit at nicira.com
Wed Dec 8 23:49:17 UTC 2010
---
lib/ofp-util.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index f37b644..471ed51 100644
--- 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);
}
--
1.7.1
More information about the dev
mailing list