1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

29 Commits

Author SHA1 Message Date
Michael Adam
e033fdbde2 Not all implementations of struct ifaddrs define ifa_broadaddr.
E.g. the definition of libreplace doesn't. :-o

Michael
(This used to be commit 25341602ec)
2008-02-22 10:43:42 +01:00
Michael Adam
5c6db777e4 Remove the implementations of _get_interfaces and autoconf test in interfaces.c
getifaddrs() is now provided by libreplace.

Michael
(This used to be commit 7970901223)
2008-02-22 01:59:45 +01:00
Volker Lendecke
1c26f38c16 Interface detection should not go through the socket wrapper
Next try to get the build farm more in line again than it is now
(This used to be commit 38e178df12)
2007-12-25 12:35:44 +01:00
Jeremy Allison
705ba0d5b5 Remove unused var noticed by metze.
Jeremy.
(This used to be commit ac4f897f0d)
2007-11-03 10:25:51 -07:00
Jeremy Allison
6665739a16 Fix typos in calc_sa_size, noticed by jim.brown@miami.edu
Jeremy.
(This used to be commit 6b7ccd3efb)
2007-11-02 12:56:21 -07:00
Jeremy Allison
e075b3692b Fix Solaris by ensuring we use the IPv4 or IPv6 length
in any getnameinfo calls.
Jeremy
(This used to be commit 4d7badb0c4)
2007-11-02 10:25:34 -07:00
Volker Lendecke
a97b33baad Two patches
Hi!

Can you check and push them?

Thanks,

Volker

From b488af5905e2dee12a1a72a3b40801ae5c26f24f Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@sernet.de>
Date: Sat, 27 Oct 2007 14:20:09 +0200
Subject: [PATCH] Fix some warnings and errors
(This used to be commit e17d3e10e8)
2007-10-27 12:50:36 -07:00
Jeremy Allison
6128d116b3 Fix resolve name to resolve IPv6 addresses of link-local%ifaddr
Jeremy.
(This used to be commit e6609cab73)
2007-10-25 18:28:36 -07:00
Jeremy Allison
e01cbcb28e Fix for AIX interface code from Kyle Stemen <kstemen@centeris.com>
Jeremy.
(This used to be commit 4d4ab9aeb9)
2007-10-24 12:44:38 -07:00
Gerald (Jerry) Carter
6a8dfad25c Fix compile error caused by unknown variable.
(This used to be commit dfef16ac43)
2007-10-21 13:44:29 -05:00
Gerald (Jerry) Carter
80b7bcb5fb Add test for "struct in6_addr" to the HAVE_IPV6 configure test.
Also make use of "if defined(HAVE_IPV6)" rather than testing for
AF_INET6 since this is not sufficient on HP-UX 11.11 to ensure
a working IPv6 implementation.
(This used to be commit 620785df4e)
2007-10-19 13:09:26 -07:00
Volker Lendecke
478ad87cb3 Use strlcpy instead of strncpy
(This used to be commit 5e95c54886)
2007-10-13 21:44:58 +02:00
Volker Lendecke
70b416a174 Fix an uninitialized variable warning
(This used to be commit d0f25bb89a)
2007-10-13 21:44:58 +02:00
Volker Lendecke
e8b83d79b1 Also find loopback interfaces
Not sure if a loopback interface is actually a broadcast one.
(This used to be commit 76d8dedc36)
2007-10-13 21:44:58 +02:00
Jeremy Allison
f4fd12acc8 Try and fix segfault found by Guenther on Fedora. Fedora
seems to return bogus values for the interface entries on
vmnet and tun interfaces.
Jeremy.
(This used to be commit 12c0b1d828)
2007-10-11 18:03:12 -07:00
Jeremy Allison
8e54530b52 Add start of IPv6 implementation. Currently most of this is avoiding
IPv6 in winbindd, but moves most of the socket functions that were
wrongly in lib/util.c into lib/util_sock.c and provides generic
IPv4/6 independent versions of most things. Still lots of work
to do, but now I can see how I'll fix the access check code.
Nasty part that remains is the name resolution code which is
used to returning arrays of in_addr structs.
Jeremy.
(This used to be commit 3f6bd0e1ec)
2007-10-10 18:25:16 -07:00
Jeremy Allison
e817616a0e r25476: Finally fix up new interface detection code :-).
Jeremy.
(This used to be commit fffdad5285)
2007-10-10 12:31:07 -05:00
Jeremy Allison
989120d53e r25475: Fix braindead mistakes I made pointed out by Simo and
James (how did this compile ? :-).
Jeremy.
(This used to be commit ae8efc60aa)
2007-10-10 12:31:07 -05:00
Jeremy Allison
3fbd1ae54c r25472: Fix the interfaces code to detect IPv6 interfaces, using the
new standard getifaddrs() and freeifaddrs() interfaces. Currently
we only return IPv4 af_families. Needs fixing for binds to IPv6
but this has to be careful work.
Jeremy.
(This used to be commit 327875182c)
2007-10-10 12:31:06 -05:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b)
2007-10-10 12:28:20 -05:00
Herb Lewis
6914b29daa r20131: get rid of a few no previous prototype warnings
(This used to be commit e710a7d39a)
2007-10-10 12:16:26 -05:00
Stefan Metzmacher
387a8ed33e r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4
to hopefully fix the build on HPUX and Tru64

metze
(This used to be commit aa8222c6a7)
2007-10-10 12:00:47 -05:00
Herb Lewis
1c4bbe0654 r6586: get rid of a few more compiler warnings
(This used to be commit 173375f8d8)
2007-10-10 10:56:46 -05:00
Andrew Tridgell
e90b652848 updated the 3.0 branch from the head branch - ready for alpha18
(This used to be commit 03ac082dcb)
2002-07-15 10:35:28 +00:00
Tim Potter
cd68afe312 Removed version number from file header.
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06)
2002-01-30 06:08:46 +00:00
Andrew Tridgell
fe6b398a79 fix interfaces.c for aix 3.2.5
(This used to be commit a69532ffde)
2001-05-07 03:21:23 +00:00
Jeremy Allison
3a6c2069d7 Added "inherit permissions" patch.
Fixed locking bug found by Andrew.
Jeremy.
(This used to be commit 38dffd360d)
2000-01-14 01:41:04 +00:00
Andrew Tridgell
9564ab8610 interfaces.c from 2.0.6
(This used to be commit 4e1458b8c1)
1999-12-17 01:41:55 +00:00