X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fopenflow%2Fopenflow-1.4.h;h=332a0d3ee302d9f7600d57c9eca542dd244a14cc;hb=42efb1dc451ebdd7a37ef27a4df7423df74d423c;hp=2dc6ef26b1f4c15750e6d254cadfedb3471e8d4a;hpb=252f3411f660fdf8749fe15fa28ab6f0b7f2f5a8;p=sliver-openvswitch.git diff --git a/include/openflow/openflow-1.4.h b/include/openflow/openflow-1.4.h index 2dc6ef26b..332a0d3ee 100644 --- a/include/openflow/openflow-1.4.h +++ b/include/openflow/openflow-1.4.h @@ -116,7 +116,6 @@ OFP_ASSERT(sizeof(struct ofp14_role_prop_header) == 4); /* Role status event message. */ struct ofp14_role_status { - struct ofp_header header; /* Type OFPT_ROLE_REQUEST/OFPT_ROLE_REPLY. */ ovs_be32 role; /* One of OFPCR_ROLE_*. */ uint8_t reason; /* One of OFPCRR_*. */ uint8_t pad[3]; /* Align to 64 bits. */ @@ -124,7 +123,7 @@ struct ofp14_role_status { /* Followed by a list of struct ofp14_role_prop_header */ }; -OFP_ASSERT(sizeof(struct ofp14_role_status) == 24); +OFP_ASSERT(sizeof(struct ofp14_role_status) == 16); /* What changed about the controller role */ enum ofp14_controller_role_reason {