[prev in list] [next in list] [prev in thread] [next in thread]
List: quagga-dev
Subject: [quagga-dev 12071] [PATCH] zebra: print "no link-detect"
From: David Lamparter <equinox () opensourcerouting ! org>
Date: 2015-03-02 5:56:58
Message-ID: 1425275818-30044-1-git-send-email-equinox () opensourcerouting ! org
[Download RAW message or body]
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>
---
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
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic