Fix macro name (no 's' in ifr_addr).
authorGerald W. Carter <jerry@samba.org>
Thu, 28 Feb 2008 17:58:05 +0000 (11:58 -0600)
committerGerald W. Carter <jerry@samba.org>
Thu, 28 Feb 2008 17:58:05 +0000 (11:58 -0600)
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html

source/lib/replace/system/network.h

index 410c6d7cca2904d12e738c470cc90a6cc581a5ac..796df2d1dabf009db21fc9f4fbbb588b3efea9a5 100644 (file)
@@ -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