From e7e3f48570f1115e020413fe3ed7460a22fdad91 Mon Sep 17 00:00:00 2001 From: Justin Pettit Date: Fri, 13 Nov 2009 11:15:35 -0800 Subject: [PATCH] ofproto: Correct structure length assertion for ofp_action_vlan_pcp --- include/openflow/openflow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2