projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofp-errors: Introduce OF1.6 (proposed) error code for OFPBFC_BAD_VERSION.
[cascardo/ovs.git]
/
lib
/
ofp-util.c
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index
ef78c73
..
bb1535d
100644
(file)
--- a/
lib/ofp-util.c
+++ b/
lib/ofp-util.c
@@
-9735,7
+9735,7
@@
ofputil_decode_bundle_add(const struct ofp_header *oh,
msg->msg = b.data;
if (msg->msg->version != oh->version) {
- return OFPERR_
NX
BFC_BAD_VERSION;
+ return OFPERR_
OFP
BFC_BAD_VERSION;
}
size_t inner_len = ntohs(msg->msg->length);
if (inner_len < sizeof(struct ofp_header) || inner_len > b.size) {