diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-19 16:33:52 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-19 16:33:52 -0700 |
| commit | c9506a0a6ea4a1729aca9ebdca425b902479e7cd (patch) | |
| tree | cf9ff5da88c2b5ce392befb5677c5e1cbefc999c /lib/if.c | |
| parent | 4774fe1b91e51c7066cbcce2a5846cc27ed64601 (diff) | |
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/if.c')
| -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); |
