]> git.proxmox.com Git - mirror_ovs.git/commitdiff
ofp-protocol: Changed the number of bits in OFPUTIL_P_ANY from 10 to 9.
authorAshish Varma <ashishvarma.ovs@gmail.com>
Wed, 13 Mar 2019 18:31:05 +0000 (11:31 -0700)
committerBen Pfaff <blp@ovn.org>
Fri, 15 Mar 2019 23:06:08 +0000 (16:06 -0700)
The removal of support for OpenFlow 1.6 (draft) resulted in the removal of
"OFPUTIL_P_OF16_OXM 1 << 9". OFPUTIL_P_ANY which represets all protocols will
now have only 9 valid bits.

Fixes: 29718ad49d61 ("Remove support for OpenFlow 1.6 (draft).")
Signed-off-by: Ashish Varma <ashishvarma.ovs@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
include/openvswitch/ofp-protocol.h

index 3f4e645a3da7f4e3256390848319f234dc435c93..7873fdd12853f1ad9e18995019dc26021e06750a 100644 (file)
@@ -97,7 +97,7 @@ enum ofputil_protocol {
 #define OFPUTIL_P_OF15_UP OFPUTIL_P_OF15_OXM
 
     /* All protocols. */
-#define OFPUTIL_P_ANY ((1 << 10) - 1)
+#define OFPUTIL_P_ANY ((1 << 9) - 1)
 
     /* Protocols in which a specific table may be specified in flow_mods. */
 #define OFPUTIL_P_TID (OFPUTIL_P_OF10_STD_TID | \