]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: print "no link-detect"
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 2 Mar 2015 05:42:11 +0000 (06:42 +0100)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:25:13 +0000 (15:25 +0000)
The default for this is slated to change, so let's print the current
default value for preexisting configurations.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 4c421215a0330b96d85879810558d40027a96ca6)

zebra/interface.c

index c82b94503b05b0b0c5ccb934e6d85e39cc5c32bf..85867264d1980ef52a66cf5884f5480dae4c5593 100644 (file)
@@ -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))
          {