summaryrefslogtreecommitdiff
path: root/babeld/babel_interface.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2012-02-14 15:12:03 +0400
committerPaul Jakma <paul@quagga.net>2012-03-25 17:06:54 +0100
commitcbde15513ba47f6e7f6d02fcafcfb12cd5b1df77 (patch)
tree97c9fbd49c65207ca878237d7668ba51cb472f9d /babeld/babel_interface.c
parent5ca7986d546a1b65a4917aec0f1b594f950f7c27 (diff)
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
Diffstat (limited to 'babeld/babel_interface.c')
-rw-r--r--babeld/babel_interface.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index 00d53bc6..958b1b98 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -986,6 +986,16 @@ interface_config_write (struct vty *vty)
vty_out (vty, " babel split-horizon%s", VTY_NEWLINE);
write++;
}
+ if (babel_ifp->hello_interval != BABEL_DEFAULT_HELLO_INTERVAL)
+ {
+ vty_out (vty, " babel hello-interval %u%s", babel_ifp->hello_interval, VTY_NEWLINE);
+ write++;
+ }
+ if (babel_ifp->update_interval != BABEL_DEFAULT_UPDATE_INTERVAL)
+ {
+ vty_out (vty, " babel update-interval %u%s", babel_ifp->update_interval, VTY_NEWLINE);
+ write++;
+ }
}
vty_out (vty, "!%s", VTY_NEWLINE);
write++;