diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index c18a73fe..38471c2a 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -1735,6 +1735,13 @@ bgp_init(struct proto_config *CF)
   struct bgp_proto *p = (struct bgp_proto *) P;
   struct bgp_config *cf = (struct bgp_config *) CF;
 
+  log(L_WARN "ALIGN: %d %d %d %d %d",
+      (int) _Alignof(net_addr),
+      (int) _Alignof(net_addr_ip4),
+      (int) _Alignof(net_addr_ip6),
+      (int) _Alignof(node),
+      (int) _Alignof(struct bgp_prefix));
+
   P->rt_notify = bgp_rt_notify;
   P->preexport = bgp_preexport;
   P->neigh_notify = bgp_neigh_notify;
