diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2012-02-14 15:12:03 +0400 |
---|---|---|
committer | Paul Jakma <paul@quagga.net> | 2012-03-25 17:06:54 +0100 |
commit | cbde15513ba47f6e7f6d02fcafcfb12cd5b1df77 (patch) | |
tree | 97c9fbd49c65207ca878237d7668ba51cb472f9d /babeld/babeld.c | |
parent | 5ca7986d546a1b65a4917aec0f1b594f950f7c27 (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/babeld.c')
-rw-r--r-- | babeld/babeld.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c index 9fea2e10..1ae3f042 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -102,6 +102,11 @@ babel_config_write (struct vty *vty) 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 */ |