From 0be44ca82f2dee4e7087429b1f208db3712aa643 Mon Sep 17 00:00:00 2001 From: Andy Zhou Date: Tue, 10 Sep 2013 13:33:08 -0700 Subject: [PATCH] openflow-1.1+: move OFPTC11_TABLE_MISS_MASK out of enum OFPTC11_TABLE_MISS_MASK is not a valid configuration, but to indicate there are only 2 bits being used for table miss configuration. Move it out of the enum definition. Reported-by: Simon Horman Signed-off-by: Andy Zhou Signed-off-by: Ben Pfaff --- include/openflow/openflow-1.1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/openflow/openflow-1.1.h b/include/openflow/openflow-1.1.h index de88ffaae..4ee9c5c32 100644 --- a/include/openflow/openflow-1.1.h +++ b/include/openflow/openflow-1.1.h @@ -452,7 +452,7 @@ enum ofp11_table_config { pipeline (OpenFlow 1.0 behavior). */ OFPTC11_TABLE_MISS_DROP = 2 << 0, /* Drop the packet. */ - OFPTC11_TABLE_MISS_MASK = 3 +#define OFPTC11_TABLE_MISS_MASK (3 << 0) }; /* Flow setup and teardown (controller -> datapath). */ -- 2.43.0