aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorguy <guy>2001-10-09 03:53:38 +0000
committerguy <guy>2001-10-09 03:53:38 +0000
commit5a85948f8007df45ed2d328034031955c681dd85 (patch)
tree6d162f854ee96ef829acdeaea5a171a64398f030 /config.h.in
parent79aeeee5ae49c7ab7737a2b53602c2f14760fc76 (diff)
We don't actually use HAVE_FREEIFADDRS, so there's no point in checking
whether we have "freeifaddrs()" (we don't check whether we have "getifaddrs()", and if we have "getifaddrs()" but not "freeifaddrs()", we're stuck with leaking memory). Give the "any" device an instance number of INT_MAX, so it shows up after all other non-loopback devices. "getifaddrs()" sometimes appears to supply a destination address even for non-point-to-point interfaces (it did so on a FreeBSD 4.1 system); don't use the broadcast address it supplies if an interface isn't a broadcast interface, and don't use the destination address it supplies if an interface isn't a point-to-point interface. If we had an error constructing the list of interfaces, don't attempt to add the "any" device to the list.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.h.in b/config.h.in
index c02efad..da91ee0 100644
--- a/config.h.in
+++ b/config.h.in
@@ -9,9 +9,6 @@
/* Define if you have the ether_hostton function. */
#undef HAVE_ETHER_HOSTTON
-/* Define if you have the freeifaddrs function. */
-#undef HAVE_FREEIFADDRS
-
/* Define if you have the strerror function. */
#undef HAVE_STRERROR
@@ -21,6 +18,9 @@
/* Define if you have the <ifaddrs.h> header file. */
#undef HAVE_IFADDRS_H
+/* Define if you have the <limits.h> header file. */
+#undef HAVE_LIMITS_H
+
/* Define if you have the <netinet/if_ether.h> header file. */
#undef HAVE_NETINET_IF_ETHER_H