Correct OFPXMC12_{OPENFLOW_BASIC,EXPERIMENTER} definitions
authorSimon Horman <horms@verge.net.au>
Wed, 25 Apr 2012 01:18:28 +0000 (10:18 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 25 Apr 2012 17:02:22 +0000 (10:02 -0700)
This corrects errors that appear to have been included
by me in the original version.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
include/openflow/openflow-1.2.h

index 9254cf4..f600792 100644 (file)
@@ -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. */