summaryrefslogtreecommitdiff
path: root/babeld
diff options
context:
space:
mode:
authorJuliusz Chroboczek <jch@pps.jussieu.fr>2012-02-11 14:06:24 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:54 +0100
commit9c298c7119c1dba6c589b8f4c358debd8e694b72 (patch)
treed8ae18bd5aec994e02aabed536446a24051cefbc /babeld
parentc428edba5fb151844d28fbb41fce1df466a74e42 (diff)
babeld: display update-interval and resend-delay in show commands"
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_interface.c1
-rw-r--r--babeld/babel_main.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index bc58b7e3..588fea70 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -732,6 +732,7 @@ show_babel_interface_sub (struct vty *vty, struct interface *ifp)
vty_out (vty, " Split horizon mode is %s%s",
CHECK_FLAG (babel_ifp->flags, BABEL_IF_SPLIT_HORIZON) ? "On" : "Off", VTY_NEWLINE);
vty_out (vty, " Hello interval is %u ms%s", babel_ifp->hello_interval, VTY_NEWLINE);
+ vty_out (vty, " Update interval is %u ms%s", babel_ifp->update_interval, VTY_NEWLINE);
}
DEFUN (show_babel_interface,
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index f2db0b37..e5764942 100644
--- a/babeld/babel_main.c
+++ b/babeld/babel_main.c
@@ -563,7 +563,7 @@ show_babel_main_configuration (struct vty *vty)
"vty port = %d%s"
"id = %s%s"
"parasitic = %s%s"
- "split-horizon = %s%s"
+ "resend-delay = %d%s"
"allow_duplicates = %s%s"
"kernel_metric = %d%s",
pidfile, VTY_NEWLINE,
@@ -578,7 +578,7 @@ show_babel_main_configuration (struct vty *vty)
babel_vty_port, VTY_NEWLINE,
format_eui64(myid), VTY_NEWLINE,
format_bool(parasitic), VTY_NEWLINE,
- format_bool(split_horizon), VTY_NEWLINE,
+ resend_delay, VTY_NEWLINE,
format_bool(allow_duplicates), VTY_NEWLINE,
kernel_metric, VTY_NEWLINE);
}