From: David Lamparter Date: Mon, 2 Mar 2015 05:42:11 +0000 (+0100) Subject: zebra: print "no link-detect" X-Git-Tag: frr-2.0-rc1~759 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b71cd0fc49cf9a90f8925e05223c897fe641690a;p=matthieu%2Ffrr.git zebra: print "no link-detect" The default for this is slated to change, so let's print the current default value for preexisting configurations. Signed-off-by: David Lamparter (cherry picked from commit 4c421215a0330b96d85879810558d40027a96ca6) --- diff --git a/zebra/interface.c b/zebra/interface.c index c82b94503b..85867264d1 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -2100,6 +2100,8 @@ if_config_write (struct vty *vty) if (CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_LINKDETECTION)) vty_out(vty, " link-detect%s", VTY_NEWLINE); + else + vty_out(vty, " no link-detect%s", VTY_NEWLINE); for (ALL_LIST_ELEMENTS_RO (ifp->connected, addrnode, ifc)) {