diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 01:33:52 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 01:33:52 +0200 |
commit | c9506a0a6ea4a1729aca9ebdca425b902479e7cd (patch) | |
tree | cf9ff5da88c2b5ce392befb5677c5e1cbefc999c /lib | |
parent | logrotate-add-size.patch (diff) | |
download | frr-c9506a0a6ea4a1729aca9ebdca425b902479e7cd.tar.xz frr-c9506a0a6ea4a1729aca9ebdca425b902479e7cd.zip |
zebra-enable-link-detect-by-default.patch
zebra: Set link-detect on by default
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Dinesh G Dutt <ddutt at cumulusnetworks.com>
Reviewed-by: Scott Feldman <sfeldma at cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/if.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -132,6 +132,9 @@ if_create (const char *name, int namelen) ifp->connected = list_new (); ifp->connected->del = (void (*) (void *)) connected_free; + /* Enable Link-detection by default */ + SET_FLAG(ifp->status, ZEBRA_INTERFACE_LINKDETECTION); + if (if_master.if_new_hook) (*if_master.if_new_hook) (ifp); |