aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nng/nng.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nng/nng.h b/include/nng/nng.h
index 6f041fcb..574a0427 100644
--- a/include/nng/nng.h
+++ b/include/nng/nng.h
@@ -202,8 +202,8 @@ struct nng_sockaddr_path {
struct nng_sockaddr_in6 {
uint16_t sa_family;
uint16_t sa_port;
+ uint32_t sa_scope; // scope moved here to make sa_addr 64-bit aligned
uint8_t sa_addr[16];
- uint32_t sa_scope;
};
struct nng_sockaddr_in {