diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-20 09:32:39 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-06-20 09:32:39 -0700 |
commit | a182091782d22218942466b062c5ef2406853491 (patch) | |
tree | d18d50c2cb0e2193b0764f6fe8ac040fa7b487f2 /zebra/linkdetect_null.c | |
parent | dacd5a05793f43ec58b53d64d46c0c06f12d57c6 (diff) | |
download | quagga-a182091782d22218942466b062c5ef2406853491.tar.bz2 quagga-a182091782d22218942466b062c5ef2406853491.tar.xz |
Backout all changes related to using kernel for linkdetect
Having kernel cleanup FIB was not ideal for a couple reasons:
1. It still generates lots of netlink events if there are lots
of static routes.
2. Kernel changes were not accepted in mainline kernel "do it in
userspace"
Diffstat (limited to 'zebra/linkdetect_null.c')
-rw-r--r-- | zebra/linkdetect_null.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/zebra/linkdetect_null.c b/zebra/linkdetect_null.c deleted file mode 100644 index 1f160c8e..00000000 --- a/zebra/linkdetect_null.c +++ /dev/null @@ -1,28 +0,0 @@ -/* 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; -} |