diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 08:57:30 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-28 08:57:30 -0700 |
commit | 6e69833249b701330913d80bd9b3c7c991ee61d5 (patch) | |
tree | 7bb53b1fe1170e04bdfd0a6a70465413188f6c84 /zebra/interface.h | |
parent | 99a9a0c9e045732e5977b24192e971ade92b59aa (diff) | |
download | quagga-6e69833249b701330913d80bd9b3c7c991ee61d5.tar.bz2 quagga-6e69833249b701330913d80bd9b3c7c991ee61d5.tar.xz |
Add ipv6 link detect hooks
Enable ipv6 link detect in kernel if needed.
Diffstat (limited to 'zebra/interface.h')
-rw-r--r-- | zebra/interface.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index 6ab25bf4..114270e7 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -237,9 +237,17 @@ extern int ifaddr_proc_ipv6 (void); #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 #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 |