about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--include/ifaddrs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index 71bdaeb180..7d52dc6dc8 100644
--- a/include/ifaddrs.h
+++ b/include/ifaddrs.h
@@ -12,7 +12,9 @@ struct in6addrinfo
     in6ai_deprecated = 1,
     in6ai_temporary = 2,
     in6ai_homeaddress = 4
-  } flags;
+  } flags:8;
+  uint8_t prefixlen;
+  uint16_t :16;
   uint32_t addr[4];
 };