diff options
author | ajs <ajs> | 2008-01-11 15:57:13 +0000 |
---|---|---|
committer | ajs <ajs> | 2008-01-11 15:57:13 +0000 |
commit | 033305144d57b98416df160adf3f050cd7c20b35 (patch) | |
tree | f0e0d2a68a5e8acddff3a89bc35c45a82d8a9005 /lib | |
parent | 1e70bfb680354e1ea007618851a16166d9397393 (diff) | |
download | quagga-033305144d57b98416df160adf3f050cd7c20b35.tar.bz2 quagga-033305144d57b98416df160adf3f050cd7c20b35.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')
-rw-r--r-- | lib/ChangeLog | 5 | ||||
-rw-r--r-- | lib/zebra.h | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index 21d08dd0..2263c03c 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2008-01-11 Andrew J. Schorr <ajschorr@alumni.princeton.edu> + + * zebra.h: Revert previous change, no need to include <net/if_media.h> + here. + 2008-01-10 Ingo Flaschberger <if@xip.at> * zebra.h: If HAVE_BSD_LINK_DETECT is defined, include <net/if_media.h>. 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> |