babeld: 3 more timing statements in config text
This commit makes the following lines visible in running-config text,
when respective intervals are configured to non-default values:
* babel hello-interval
* babel update-interval
* babel resend-delay
diff --git a/babeld/babeld.c b/babeld/babeld.c
index 9fea2e1..1ae3f04 100644
--- a/babeld/babeld.c
+++ b/babeld/babeld.c
@@ -102,6 +102,11 @@
if (!babel_routing_process)
return lines;
vty_out (vty, "router babel%s", VTY_NEWLINE);
+ if (resend_delay != BABEL_DEFAULT_RESEND_DELAY)
+ {
+ vty_out (vty, " babel resend-delay %u%s", resend_delay, VTY_NEWLINE);
+ lines++;
+ }
/* list enabled interfaces */
lines = 1 + babel_enable_if_config_write (vty);
/* list redistributed protocols */