From: Justin Pettit Date: Fri, 13 Nov 2009 19:15:35 +0000 (-0800) Subject: ofproto: Correct structure length assertion for ofp_action_vlan_pcp X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7e3f48570f1115e020413fe3ed7460a22fdad91;p=openvswitch ofproto: Correct structure length assertion for ofp_action_vlan_pcp --- diff --git a/include/openflow/openflow.h b/include/openflow/openflow.h index 1d70aab9..1f183707 100644 --- a/include/openflow/openflow.h +++ b/include/openflow/openflow.h @@ -351,7 +351,7 @@ struct ofp_action_vlan_pcp { uint8_t vlan_pcp; /* VLAN priority. */ uint8_t pad[3]; }; -OFP_ASSERT(sizeof(struct ofp_action_vlan_vid) == 8); +OFP_ASSERT(sizeof(struct ofp_action_vlan_pcp) == 8); /* Action structure for OFPAT_SET_DL_SRC/DST. */ struct ofp_action_dl_addr {