summaryrefslogtreecommitdiffstats
path: root/zebra/linkdetect_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/linkdetect_null.c')
-rw-r--r--zebra/linkdetect_null.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/zebra/linkdetect_null.c b/zebra/linkdetect_null.c
new file mode 100644
index 00000000..c33363e1
--- /dev/null
+++ b/zebra/linkdetect_null.c
@@ -0,0 +1,16 @@
+/* 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;
+}