Add a missing macro for the previous commit (IS_INADDR_ANY()).
This commit is contained in:
parent
e75a188e70
commit
9e8a0a1166
@ -94,6 +94,7 @@ addr_to_string(struct sockaddr_storage *ss, char *buffer, int buflen)
|
||||
struct sockaddr_in6 *sin6;
|
||||
struct sockaddr_in *sin;
|
||||
struct sockaddr_un *sun;
|
||||
#define IS_INADDR_ANY(x) ((x).s_addr == INADDR_ANY)
|
||||
|
||||
switch (ss->ss_family) {
|
||||
case AF_LOCAL:
|
||||
|
Loading…
Reference in New Issue
Block a user