ofproto: Correct structure length assertion for ofp_action_vlan_pcp
authorJustin Pettit <jpettit@nicira.com>
Fri, 13 Nov 2009 19:15:35 +0000 (11:15 -0800)
committerJustin Pettit <jpettit@nicira.com>
Fri, 13 Nov 2009 19:15:35 +0000 (11:15 -0800)
include/openflow/openflow.h

index 1d70aab95d34956d03c8469e8d3e526773fa9fee..1f1837071327d154e0578ead5d05f39f698cdce5 100644 (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 {