The default for this is slated to change, so let's print the current default value for preexisting configurations.
Signed-off-by: David Lamparter <[email protected]> --- Noticed that we didn't do this while writing the news entry for 0.99.24. I'm assuming this is the "minimum result" from the discussion thread we had, i.e. no matter what/when we do more, we should print "no link-detect" now. Pushing this to master, anyone disagreeing with this being in 0.99.24 better scream fast (or rather: should've screamed back in the link-detect thread) --- zebra/interface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zebra/interface.c b/zebra/interface.c index 7e1d3dd..0271061 100644 --- a/zebra/interface.c +++ b/zebra/interface.c @@ -1579,6 +1579,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.0.4 _______________________________________________ Quagga-dev mailing list [email protected] https://lists.quagga.net/mailman/listinfo/quagga-dev
