mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 17:24:26 +00:00
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>
This commit is contained in:
parent
4774fe1b91
commit
c9506a0a6e
3
lib/if.c
3
lib/if.c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user