Use enum ofp11_group_type in struct ofgroup
authorSimon Horman <horms@verge.net.au>
Thu, 5 Sep 2013 05:19:12 +0000 (14:19 +0900)
committerBen Pfaff <blp@nicira.com>
Thu, 5 Sep 2013 20:02:29 +0000 (13:02 -0700)
commit56750e2e32e23025a0882e75f02d93ad556b77fa
tree2ceba91a4dbeac9c68b869067812c43b48f191ff
parent86189a8c0bfb60d57169178630e3898023305d55
Use enum ofp11_group_type in struct ofgroup

Use enum ofp11_group_type for the 'type' field of struct ofgroup
as the enum exactly covers all the valid values of the field.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
ofproto/ofproto-provider.h