[quagga-dev 12071] [PATCH] zebra: print "no link-detect"
equinox at opensourcerouting.org
Mon Mar 2 05:56:58 GMT 2015
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 at opensourcerouting.org>
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
@@ -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);
+ vty_out(vty, " no link-detect%s", VTY_NEWLINE);
for (ALL_LIST_ELEMENTS_RO (ifp->connected, addrnode, ifc))
More information about the Quagga-dev