Add a missing macro for the previous commit (IS_INADDR_ANY()).

This commit is contained in:
jlh 2019-10-09 20:05:14 +00:00
parent e75a188e70
commit 9e8a0a1166

View File

@ -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: