summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system
diff options
context:
space:
mode:
authorGerald W. Carter <jerry@samba.org>2008-02-28 11:58:05 -0600
committerStefan Metzmacher <metze@samba.org>2008-03-18 16:40:46 +0100
commit1268be9f88a1716c9b01b10fef0de5428ef65b3c (patch)
treec799fc4afe6d76563b5e20102d01c714bca47705 /source4/lib/replace/system
parent6f6d38d24a69aec614e443c6a5cd0d6ed6b1b70e (diff)
downloadsamba-1268be9f88a1716c9b01b10fef0de5428ef65b3c.tar.gz
samba-1268be9f88a1716c9b01b10fef0de5428ef65b3c.tar.bz2
samba-1268be9f88a1716c9b01b10fef0de5428ef65b3c.zip
Fix macro name (no 's' in ifr_addr).
Interface detection on Solaris still failing due to items pointed out here: http://lists.samba.org/archive/samba-technical/2007-November/056701.html (cherry picked from commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff) (This used to be commit 5757d8dfe9e6cf7b662acdf5c3d825f0021822c0)
Diffstat (limited to 'source4/lib/replace/system')
-rw-r--r--source4/lib/replace/system/network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/system/network.h b/source4/lib/replace/system/network.h
index 7c2377301b..f943a7fd87 100644
--- a/source4/lib/replace/system/network.h
+++ b/source4/lib/replace/system/network.h
@@ -310,7 +310,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