From 8d95ee9f88945ee49932b1a9f7af5abe6048e6e6 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 20 Jun 2008 12:16:49 -0700 Subject: Revert "Backout all changes related to using kernel for linkdetect" This reverts commit a182091782d22218942466b062c5ef2406853491. More changes that should NOT go into hollywood --- zebra/linkdetect_null.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 zebra/linkdetect_null.c (limited to 'zebra/linkdetect_null.c') diff --git a/zebra/linkdetect_null.c b/zebra/linkdetect_null.c new file mode 100644 index 00000000..1f160c8e --- /dev/null +++ b/zebra/linkdetect_null.c @@ -0,0 +1,28 @@ +/* NULL method for testing. */ + +#include + + +int +if_linkdetect_on (const char *name) +{ + return 0; +} + +int +if_linkdetect_off (const char *name) +{ + return 0; +} + +int +if_linkdetect_ipv6_on (const char *name) +{ + return 0; +} + +int +if_linkdetect_ipv6_off (const char *name) +{ + return 0; +} -- cgit v1.2.3