diff options
author | Dinesh G Dutt <ddutt@cumulusnetworks.com> | 2014-09-30 12:39:24 -0700 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2014-10-28 11:06:00 +0000 |
commit | 773224404cb33b2dbd3d8d8d2572013603995ce4 (patch) | |
tree | 43a4c9582fd6b8befbebbc35d3980458ac0309cf | |
parent | aed1b556cf2f55680ae09d7ad1a1f22729dea8c5 (diff) | |
download | quagga-773224404cb33b2dbd3d8d8d2572013603995ce4.tar.bz2 quagga-773224404cb33b2dbd3d8d8d2572013603995ce4.tar.xz |
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>
-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); |