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: Allow encoding of Open Flow 1.2 Port Mod Messages
[sliver-openvswitch.git]
/
lib
/
ofp-util.c
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index
e8ba0b0
..
14f1c0d
100644
(file)
--- a/
lib/ofp-util.c
+++ b/
lib/ofp-util.c
@@
-2846,7
+2846,8
@@
ofputil_encode_port_mod(const struct ofputil_port_mod *pm,
break;
}
- case OFP11_VERSION: {
+ case OFP11_VERSION:
+ case OFP12_VERSION: {
struct ofp11_port_mod *opm;
b = ofpraw_alloc(OFPRAW_OFPT11_PORT_MOD, ofp_version, 0);
@@
-2859,7
+2860,6
@@
ofputil_encode_port_mod(const struct ofputil_port_mod *pm,
break;
}
- case OFP12_VERSION:
default:
NOT_REACHED();
}