Skip to content

Commit

Permalink
sa: proposal to always enable struct sockaddr_in6 (#651)
Browse files Browse the repository at this point in the history
* sa: proposal to always enable struct sockaddr_in6

* sa: remove padding
  • Loading branch information
alfredh authored Jan 19, 2023
1 parent 8d40fa1 commit 591d450
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/re_sa.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,10 @@ struct sa {
union {
struct sockaddr sa;
struct sockaddr_in in;
struct sockaddr_in6 in6;
#if !defined(HAVE_UNIXSOCK) || HAVE_UNIXSOCK == 1
struct sockaddr_un un;
#endif
#ifdef HAVE_INET6
struct sockaddr_in6 in6;
#endif
uint8_t padding[28];
} u;
socklen_t len;
};
Expand Down

0 comments on commit 591d450

Please sign in to comment.