summaryrefslogtreecommitdiff
path: root/common/sock_any.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/sock_any.h')
-rw-r--r--common/sock_any.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sock_any.h b/common/sock_any.h
index f281020..5d733b1 100644
--- a/common/sock_any.h
+++ b/common/sock_any.h
@@ -8,7 +8,6 @@
struct sockaddr_any
{
- size_t namelen;
union _sockaddr_any
{
/* The header */
@@ -21,6 +20,7 @@ struct sockaddr_any
struct sockaddr_in6 in6;
#endif
} s;
+ size_t namelen;
};
#define SANY_ADDR(any) (&((any).s.a))