ofp-util: Simplify struct ofputil_role_request.
authorBen Pfaff <blp@nicira.com>
Tue, 12 Feb 2013 07:55:31 +0000 (23:55 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 12 Feb 2013 07:55:31 +0000 (23:55 -0800)
commitf4f1ea7eaca92e2ca44c9624b3bb7d6426b2ddea
treecd4f6d98df6157ac76337ce8e9a1df38eec06e50
parent964a5f60c0b38e59993e92425709579b3394349a
ofp-util: Simplify struct ofputil_role_request.

It makes more sense to use enum ofp12_controller_role here than
to use enum nx_role, because the former is a superset of the latter and
we can then get rid of a bool member too.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-print.c
lib/ofp-util.c
lib/ofp-util.h
ofproto/connmgr.c
ofproto/connmgr.h
ofproto/ofproto.c
ofproto/ofproto.h
vswitchd/bridge.c