summaryrefslogtreecommitdiff
path: root/source3/lib/replace/system
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/replace/system')
-rw-r--r--source3/lib/replace/system/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h
index 410c6d7cca..796df2d1da 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/lib/replace/system/network.h
@@ -305,7 +305,7 @@ struct addrinfo {
/* Needed for some systems that don't define it (Solaris). */
#ifndef ifr_netmask
-#define ifr_netmask ifr_addrs
+#define ifr_netmask ifr_addr
#endif
#ifdef SOCKET_WRAPPER