ovs-ofctl: Only allow usable protocols for group commands
authorSimon Horman <simon.horman@netronome.com>
Wed, 5 Nov 2014 23:55:47 +0000 (15:55 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Wed, 5 Nov 2014 23:55:47 +0000 (15:55 -0800)
commit69185eb25acbaa4b4744f6d9387920ba1c3625eb
tree7ae3eb48abef0b188806f16e781891ca4fa8f719
parentb5cbbcf6561732d2f99ed0619defcc7aff1e75db
ovs-ofctl: Only allow usable protocols for group commands

parse_ofp_group_mod_str() may limit the usable protocols according
to the group and in particular its actions. However, without this
change ovs-ofctl ignores this calculation.

Signed-off-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
utilities/ovs-ofctl.c