summaryrefslogtreecommitdiff
path: root/source3/lib/replace/getifaddrs.c
AgeCommit message (Collapse)AuthorFilesLines
2008-02-29libreplace: fix rep_freeifaddrs to not segfault on NULL input.Michael Adam1-6/+7
Michael (cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5) (This used to be commit 34d906ef44d1a5c3452097a9cac438d721fe35c1)
2008-02-29libreplace: add missing semicolon to getifaddrs.Michael Adam1-1/+1
Michael (cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a) (This used to be commit 1d906d346ed90b87895772a64c7613324ef8b682)
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 (cherry picked from commit ee170c85e0e76411bd752de5fe51db6940dab929) (This used to be commit 650cc1da4b4404880389c583dbb07ce86df48576)
2008-02-29libreplace: use the new getifaddrs test also for autoconf.Michael Adam1-29/+0
Michael (cherry picked from commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da) (This used to be commit c5932414fdf0b568cbfe6cdefaec41c8afc8ca6b)
2008-02-22libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam1-0/+2
Michael (This used to be commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
2008-02-22libreplace: Fix comment originating from old samba source.Michael Adam1-1/+1
Michael (cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96) (This used to be commit ddf7ac4f266e59871191c6e0a14e99b01a1dc8b1)
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 (This used to be commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
2008-02-22Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam1-3/+6
Michael (This used to be commit 65710e752f72070cb911867ff9f31f91904ca5c0)
2008-02-21libreplace: fix compile errors in getifaddrs.cMichael Adam1-6/+3
Michael (This used to be commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
2008-02-19r26497: Fix return type for freeifaddrs().Jelmer Vernooij1-6/+6
(cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1) (This used to be commit 57587e49f5942b81508b40e3c9a67e7536f2271d)
2008-02-19r26491: Fix syntax.Jelmer Vernooij1-1/+1
(cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0) (This used to be commit d9c3b27c3fafb3adb7bc6521f5be97aec7fe8bfc)
2008-02-19r26487: Cope with systems that don't have struct sockaddr.sa_len.Jelmer Vernooij1-2/+9
(cherry picked from commit 56080469ab28ae5a2f456cced34814d9c33480c6) (This used to be commit ce222d07ba73b34894454e4fcb43046f0f22c0e7)
2008-02-19r26469: Fix paths, only include IPv4 addresses for now.Jelmer Vernooij1-8/+13
(cherry picked from commit fa9e3b6fa871b7541878f836ea54e882e614a3cf) (This used to be commit a2d6f6b4ae7fb6711d4228b9e255eebb6bf344bd)
2008-02-19r26468: Match getifaddrs more closely, add trivial test.Jelmer Vernooij1-22/+11
(cherry picked from commit 92898c043b5a2649a2e423d02bcdaea78ae55737) (This used to be commit 3f9c0c210022905c7811b2e07b3b655929daf930)
2008-02-19r26467: Use getifaddrs() for interface enumeration and provide replacements ↵Jelmer Vernooij1-0/+391
for platforms that don't have it in lib/replace. (lib/replace part of 9b4924fbd8619033c55b4c6e2589da247332e7db - Michael) (This used to be commit 789bf2d36bd728cc68b58cfb1e9570b90ca09af7)