summaryrefslogtreecommitdiffstats
path: root/lib/zebra.h
diff options
context:
space:
mode:
authorajs <ajs>2008-01-11 15:57:13 +0000
committerajs <ajs>2008-01-11 15:57:13 +0000
commit2f73d36752b61b48c0c14a39d2c13f33ea0411fa (patch)
tree716f01d8ff1567c49bd1610fe1f5fb959756ad3b /lib/zebra.h
parentf6bc0eb86aec3cec8ddb18de4f85fb669e3197d2 (diff)
downloadquagga-2f73d36752b61b48c0c14a39d2c13f33ea0411fa.tar.bz2
quagga-2f73d36752b61b48c0c14a39d2c13f33ea0411fa.tar.xz
[link-detect] Improve BSD support.
2008-01-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu> * lib/zebra.h: Revert previous change, no need to include <net/if_media.h> here. * zebra/ioctl.c: If HAVE_BSD_LINK_DETECT is defined, include <net/if_media.h> (if_get_flags) Remove debug messages about BSD link state. * zebra/kernel_socket.c: (bsd_linkdetect_translate) If link state is unknown, we should set the IFF_RUNNING flag.
Diffstat (limited to 'lib/zebra.h')
-rw-r--r--lib/zebra.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/zebra.h b/lib/zebra.h
index 1c9eb39f..150aa2c5 100644
--- a/lib/zebra.h
+++ b/lib/zebra.h
@@ -116,9 +116,6 @@ typedef int socklen_t;
#endif /* !va_copy */
#endif /* !C99 */
-#ifdef HAVE_BSD_LINK_DETECT
-#include <net/if_media.h>
-#endif /* HAVE_BSD_LINK_DETECT*/
#ifdef HAVE_LCAPS
#include <sys/capability.h>