summaryrefslogtreecommitdiffstats
path: root/zebra/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index 6f356686..6ab25bf4 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -234,11 +234,10 @@ 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 *);
#else
-#error config
#define if_linkdetect_on(name)
#define if_linkdetect_off(name)
#endif