diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-29 22:54:24 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-29 22:54:24 -0700 |
commit | b25e631dcc357f16d05fb2ac4f1570d7e86ec0ef (patch) | |
tree | e49268da6abb834c02049ac982b364e991aecb2e /zebra/interface.h | |
parent | b2d49f178cc69c580039c5fb058f6eba4a542b1f (diff) | |
parent | 97dd2bf9bb517c428cfa2778cac071ad845d03a1 (diff) | |
download | quagga-b25e631dcc357f16d05fb2ac4f1570d7e86ec0ef.tar.bz2 quagga-b25e631dcc357f16d05fb2ac4f1570d7e86ec0ef.tar.xz |
Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywood
Diffstat (limited to 'zebra/interface.h')
-rw-r--r-- | zebra/interface.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index 6f356686..114270e7 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -234,13 +234,20 @@ extern int interface_list_proc (void); extern int ifaddr_proc_ipv6 (void); #endif /* HAVE_PROC_NET_IF_INET6 */ -#ifdef HAVE_PROC_NET_IPV4_CONF +#ifdef HAVE_LINKDETECT extern int if_linkdetect_on (const char *); extern int if_linkdetect_off (const char *); +# ifdef HAVE_IPV6 +extern int if_linkdetect_ipv6_on (const char *); +extern int if_linkdetect_ipv6_off (const char *); +# endif #else -#error config #define if_linkdetect_on(name) #define if_linkdetect_off(name) +# ifdef HAVE_IPV6 +#define if_linkdetect_ipv6_on(name) +#define if_linkdetect_ipv6_off(name) +# endif #endif |