2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00

ofproto: Correct structure length assertion for ofp_action_vlan_pcp

This commit is contained in:
Justin Pettit
2009-11-13 11:15:35 -08:00
parent b4785c1e43
commit e7e3f48570

View File

@@ -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 {