summaryrefslogtreecommitdiffstats
path: root/zebra/linkdetect_null.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-20 12:16:49 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-06-20 12:16:49 -0700
commit8d95ee9f88945ee49932b1a9f7af5abe6048e6e6 (patch)
treef8e32626b815d715d6a82d96f848402d83da111b /zebra/linkdetect_null.c
parent13807d02a1bd95c2eab32bfa2102e902c61dcb06 (diff)
downloadquagga-8d95ee9f88945ee49932b1a9f7af5abe6048e6e6.tar.bz2
quagga-8d95ee9f88945ee49932b1a9f7af5abe6048e6e6.tar.xz
Revert "Backout all changes related to using kernel for linkdetect"
This reverts commit a182091782d22218942466b062c5ef2406853491. More changes that should NOT go into hollywood
Diffstat (limited to 'zebra/linkdetect_null.c')
-rw-r--r--zebra/linkdetect_null.c28
1 files changed, 28 insertions, 0 deletions
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 <zebra.h>
+
+
+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;
+}