From 7132cc8426867ab5256b2dd96206b4001a4d8a53 Mon Sep 17 00:00:00 2001 From: Simon Horman Date: Wed, 25 Apr 2012 10:18:28 +0900 Subject: [PATCH] Correct OFPXMC12_{OPENFLOW_BASIC,EXPERIMENTER} definitions This corrects errors that appear to have been included by me in the original version. Signed-off-by: Simon Horman Signed-off-by: Ben Pfaff --- 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 9254cf47..f600792f 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. */ -- 2.30.2