summaryrefslogtreecommitdiff
path: root/source4/lib/replace/getifaddrs.c
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16Make Samba 3 and Samba 4 both use the same single copy of libreplace.Jelmer Vernooij1-361/+0
2008-02-29libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam1-6/+7
Michael (This used to be commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
2008-02-29libreplace: add missing semicolon to getifaddrs.Michael Adam1-1/+1
Michael (This used to be commit 29818a07de826fd687003ff25865d77939ecaa9a)
2008-02-29libreplace: try and fix rep_getifaddrs() for Tru64.Michael Adam1-21/+16
Don't fail when there is no address assigned to the interface. Put NULL into the ifaddrs structure instead. Michael (This used to be commit ee170c85e0e76411bd752de5fe51db6940dab929)
2008-02-28libreplace: use the new getifaddrs test also for autoconf.Michael Adam1-29/+0
Michael (This used to be commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
2008-02-22libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam1-0/+2
Michael (cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909) (This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)
2008-02-22libreplace: Fix comment originating from old samba source.Michael Adam1-1/+1
Michael (This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
2008-02-22Fix linked list of ifaddrs in implementations of rep_getifaddrs.Michael Adam1-3/+3
Produce proper list instead of one-node-loop. Michael (cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b) (This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)
2008-02-22Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam1-3/+6
Michael (cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0) (This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)
2008-02-21libreplace: fix compile errors in getifaddrs.cMichael Adam1-6/+3
Michael (cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637) (This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)
2007-12-21r26497: Fix return type for freeifaddrs().Jelmer Vernooij1-6/+6
(This used to be commit 8c65053f51330bb55a81572264eefbcc56029dc1)
2007-12-21r26491: Fix syntax.Jelmer Vernooij1-1/+1
(This used to be commit 2513230e286179747bb84e4e87121b80bea8f3f0)
2007-12-21r26487: Cope with systems that don't have struct sockaddr.sa_len.Jelmer Vernooij1-2/+9
(This used to be commit 56080469ab28ae5a2f456cced34814d9c33480c6)
2007-12-21r26469: Fix paths, only include IPv4 addresses for now.Jelmer Vernooij1-8/+13
(This used to be commit fa9e3b6fa871b7541878f836ea54e882e614a3cf)
2007-12-21r26468: Match getifaddrs more closely, add trivial test.Jelmer Vernooij1-22/+11
(This used to be commit 92898c043b5a2649a2e423d02bcdaea78ae55737)
2007-12-21r26467: Use getifaddrs() for interface enumeration and provide replacements ↵Jelmer Vernooij1-0/+391
for platforms that don't have it in lib/replace. (This used to be commit 9b4924fbd8619033c55b4c6e2589da247332e7db)