projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
026a517
)
ofp-util: Allow encoding of Open Flow 1.2 Port Mod Messages
author
Simon Horman
<horms@verge.net.au>
Thu, 9 Aug 2012 08:49:24 +0000
(17:49 +0900)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 9 Aug 2012 23:27:57 +0000
(16:27 -0700)
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-util.c
patch
|
blob
|
history
diff --git
a/lib/ofp-util.c
b/lib/ofp-util.c
index e8ba0b061667b1e658fbeca5971808d940c49bb6..14f1c0d6a3a1f6900c49154ae0ce187a963ca87e 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();
}