diff options
Diffstat (limited to 'zebra/linkdetect_null.c')
-rw-r--r-- | zebra/linkdetect_null.c | 28 |
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; +} |