diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-20 12:16:49 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-20 12:16:49 -0700 |
commit | 8d95ee9f88945ee49932b1a9f7af5abe6048e6e6 (patch) | |
tree | f8e32626b815d715d6a82d96f848402d83da111b /zebra/linkdetect_null.c | |
parent | 13807d02a1bd95c2eab32bfa2102e902c61dcb06 (diff) | |
download | quagga-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.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; +} |