r26492: Some hosts have a define called ifa_dstaddr.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 17 Dec 2007 05:57:30 +0000 (06:57 +0100)
committerMichael Adam <obnox@samba.org>
Tue, 19 Feb 2008 20:58:50 +0000 (21:58 +0100)
(cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)
(This used to be commit 839d128a42aa624e3cd978700059f947022ee733)

source3/lib/replace/system/network.h

index 0b5fbcddd1cbb83c75a7faca37c266c30c28c219..e03c991b3ccd3aef1ec88050eb3f22100179937e 100644 (file)
@@ -109,6 +109,7 @@ struct ifaddrs {
        unsigned int     ifa_flags;         /* Interface flags */
        struct sockaddr  *ifa_addr;         /* Interface address */
        struct sockaddr  *ifa_netmask;      /* Interface netmask */
+#undef ifa_dstaddr
        struct sockaddr  *ifa_dstaddr;      /* P2P interface destination */
        void             *ifa_data;         /* Address specific data */
 };