mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 14:27:36 +00:00
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 <equinox@opensourcerouting.org> (cherry picked from commit 4c421215a0330b96d85879810558d40027a96ca6)
This commit is contained in:
parent
a99d18507c
commit
b71cd0fc49
@ -2100,6 +2100,8 @@ if_config_write (struct vty *vty)
|
|||||||
|
|
||||||
if (CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_LINKDETECTION))
|
if (CHECK_FLAG(ifp->status, ZEBRA_INTERFACE_LINKDETECTION))
|
||||||
vty_out(vty, " link-detect%s", VTY_NEWLINE);
|
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))
|
for (ALL_LIST_ELEMENTS_RO (ifp->connected, addrnode, ifc))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user