From b71cd0fc49cf9a90f8925e05223c897fe641690a Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Mon, 2 Mar 2015 06:42:11 +0100 Subject: [PATCH] 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) --- zebra/interface.c | 2 ++ 1 file changed, 2 insertions(+) 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)) { -- 2.39.5