From: Jarno Rajahalme Date: Sun, 8 Sep 2013 01:27:09 +0000 (-0700) Subject: ofp-parse: Set usable protocols in parse_ofp_meter_mod_str__(). X-Git-Tag: sliver-openvswitch-2.0.90-1~14^2~34 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=040f4db8ac7182da01c6da73e7b49617587fbbcf;hp=b31e8700fa21afc01af6e87caa23b56412e1c670;p=sliver-openvswitch.git ofp-parse: Set usable protocols in parse_ofp_meter_mod_str__(). Signed-off-by: Jarno Rajahalme Signed-off-by: Ben Pfaff --- diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c index a61beb99e..e28bf0238 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: