summaryrefslogtreecommitdiffstats
path: root/babeld/babel_interface.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2012-02-14 12:12:03 +0100
committerPaul Jakma <paul@quagga.net>2012-03-25 18:06:54 +0200
commitcbde15513ba47f6e7f6d02fcafcfb12cd5b1df77 (patch)
tree97c9fbd49c65207ca878237d7668ba51cb472f9d /babeld/babel_interface.c
parentbabeld: consolidate zebra interface into fewer functions. (diff)
downloadfrr-cbde15513ba47f6e7f6d02fcafcfb12cd5b1df77.tar.xz
frr-cbde15513ba47f6e7f6d02fcafcfb12cd5b1df77.zip
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 00d53bc67..958b1b984 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++;