[ovs-dev] [PATCH 1/3] Correct OFPXMC12_{OPENFLOW_BASIC, EXPERIMENTER} definitions

Simon Horman horms at verge.net.au
Wed Apr 25 01:18:28 UTC 2012


This corrects errors that appear to have been included
by me in the original version.

Signed-off-by: Simon Horman <horms at verge.net.au>
---
 include/openflow/openflow-1.2.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/openflow/openflow-1.2.h b/include/openflow/openflow-1.2.h
index 9254cf4..f600792 100644
--- a/include/openflow/openflow-1.2.h
+++ b/include/openflow/openflow-1.2.h
@@ -72,8 +72,8 @@ enum ofp12_type {
 enum ofp12_oxm_class {
     OFPXMC12_NXM_0          = 0x0000, /* Backward compatibility with NXM */
     OFPXMC12_NXM_1          = 0x0001, /* Backward compatibility with NXM */
-    OFPXMC12_OPENFLOW_BASIC = 0x0000, /* Basic class for OpenFlow */
-    OFPXMC12_EXPERIMENTER   = 0x0000, /* Experimenter class */
+    OFPXMC12_OPENFLOW_BASIC = 0x8000, /* Basic class for OpenFlow */
+    OFPXMC12_EXPERIMENTER   = 0xffff, /* Experimenter class */
 };
 
 /* OXM Flow match field types for OpenFlow basic class. */
-- 
1.7.9.5




More information about the dev mailing list