aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorguy <guy>2001-10-09 05:43:19 +0000
committerguy <guy>2001-10-09 05:43:19 +0000
commit519b0b5a593b5b7fe256dee783015ff582afd8ee (patch)
tree62d7a2803e0b1b4af3dc7b080e04c3abda095608 /config.h.in
parent5a85948f8007df45ed2d328034031955c681dd85 (diff)
If we have "/proc/net/dev", and don't have <ifaddrs.h> (i.e., don't have
"getifaddrs()"), after processing the list returned by SIOCGIFCONF, scan "/proc/net/dev" for interface names, and add to the list of interfaces entries for those interfaces, with no associated addresses (if the interfaces were already added, with addresses, from the list returned by SIOCGIFCONF, they won't get added again). Clean up the error handling a bit.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index da91ee0..3af8ff7 100644
--- a/config.h.in
+++ b/config.h.in
@@ -66,6 +66,9 @@
/* if if_packet.h has tpacket_stats defined */
#undef HAVE_TPACKET_STATS
+/* define if you have a /proc/net/dev */
+#undef HAVE_PROC_NET_DEV
+
/* define on AIX to get certain functions */
#undef _SUN