[ovs-dev] [of1.5 1/9] ofp-util: Fix definition of OFPUTIL_P_OF13_UP.

Ben Pfaff blp at nicira.com
Thu May 8 06:56:40 UTC 2014


It should include OF1.4.

Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/ofp-util.h | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lib/ofp-util.h b/lib/ofp-util.h
index 782e512..f4b5f79 100644
--- a/lib/ofp-util.h
+++ b/lib/ofp-util.h
@@ -119,11 +119,9 @@ enum ofputil_protocol {
 
 #define OFPUTIL_P_OF11_UP (OFPUTIL_P_OF11_STD | OFPUTIL_P_ANY_OXM)
 
-#define OFPUTIL_P_OF12_UP (OFPUTIL_P_ANY_OXM)
-
-#define OFPUTIL_P_OF13_UP (OFPUTIL_P_OF13_OXM)
-
-#define OFPUTIL_P_OF14_UP (OFPUTIL_P_OF14_OXM)
+#define OFPUTIL_P_OF12_UP (OFPUTIL_P_OF12_OXM | OFPUTIL_P_OF13_UP)
+#define OFPUTIL_P_OF13_UP (OFPUTIL_P_OF13_OXM | OFPUTIL_P_OF14_UP)
+#define OFPUTIL_P_OF14_UP OFPUTIL_P_OF14_OXM
 
     /* All protocols. */
 #define OFPUTIL_P_ANY ((1 << 8) - 1)
-- 
1.9.1




More information about the dev mailing list