It consists of ovs_be16 elements, so it has 16-bit alignment.

(This doesn't make a difference for any actual OpenFlow protocol elements.)

Signed-off-by: Ben Pfaff <b...@ovn.org>
---
 build-aux/check-structs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build-aux/check-structs b/build-aux/check-structs
index f79f23513d7b..8de9defe2b36 100755
--- a/build-aux/check-structs
+++ b/build-aux/check-structs
@@ -15,7 +15,7 @@ types['ovs_be16'] = {"size": 2, "alignment": 2}
 types['ovs_be32'] = {"size": 4, "alignment": 4}
 types['ovs_be64'] = {"size": 8, "alignment": 8}
 types['ovs_32aligned_be64'] = {"size": 8, "alignment": 4}
-types['struct eth_addr'] = {"size": 6, "alignment": 1}
+types['struct eth_addr'] = {"size": 6, "alignment": 2}
 
 token = None
 line = ""
-- 
2.10.2

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to