[ovs-dev] [PATCH 3/8] ofp-parse: Set usable protocols in parse_ofp_meter_mod_str__().
Jarno Rajahalme
jrajahalme at nicira.com
Sun Sep 8 01:27:09 UTC 2013
Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
---
lib/ofp-parse.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c
index a61beb9..e28bf02 100644
--- a/lib/ofp-parse.c
+++ b/lib/ofp-parse.c
@@ -1370,7 +1370,7 @@ parse_ofp_meter_mod_str__(struct ofputil_meter_mod *mm, char *string,
char *name;
/* Meters require at least OF 1.3. */
- *usable_protocols &= OFPUTIL_P_OF13_UP;
+ *usable_protocols = OFPUTIL_P_OF13_UP;
switch (command) {
case -1:
--
1.7.10.4
More information about the dev
mailing list