summaryrefslogtreecommitdiff
path: root/source3/lib/replace/system/network.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-16 03:22:13 +0100
committerMichael Adam <obnox@samba.org>2008-02-19 21:56:52 +0100
commit7728a23d43a79eefaf2cc7e1998283e3d1e095f8 (patch)
tree4c639e11bb9d39a54f040c6839ab77751f08be57 /source3/lib/replace/system/network.h
parentd0d4fc5f5412bcf2977afc01edee92107e995c80 (diff)
downloadsamba-7728a23d43a79eefaf2cc7e1998283e3d1e095f8.tar.gz
samba-7728a23d43a79eefaf2cc7e1998283e3d1e095f8.tar.bz2
samba-7728a23d43a79eefaf2cc7e1998283e3d1e095f8.zip
r26469: Fix paths, only include IPv4 addresses for now.
(cherry picked from commit fa9e3b6fa871b7541878f836ea54e882e614a3cf) (This used to be commit a2d6f6b4ae7fb6711d4228b9e255eebb6bf344bd)
Diffstat (limited to 'source3/lib/replace/system/network.h')
-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 61be51744c..0b5fbcddd1 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/lib/replace/system/network.h
@@ -106,7 +106,7 @@ const char *rep_inet_ntop(int af, const void *src, char *dst, socklen_t size);
struct ifaddrs {
struct ifaddrs *ifa_next; /* Pointer to next struct */
char *ifa_name; /* Interface name */
- u_int ifa_flags; /* Interface flags */
+ unsigned int ifa_flags; /* Interface flags */
struct sockaddr *ifa_addr; /* Interface address */
struct sockaddr *ifa_netmask; /* Interface netmask */
struct sockaddr *ifa_dstaddr; /* P2P interface destination */