]> git.puffer.fish Git - matthieu/frr.git/commitdiff
babeld: display update-interval and resend-delay in show commands"
authorJuliusz Chroboczek <jch@pps.jussieu.fr>
Sat, 11 Feb 2012 13:06:24 +0000 (14:06 +0100)
committerPaul Jakma <paul@quagga.net>
Sun, 25 Mar 2012 16:06:54 +0000 (17:06 +0100)
babeld/babel_interface.c
babeld/babel_main.c

index bc58b7e375a025c3aec5d5ae63d5456b681549ca..588fea708d536b7ae7650073f8b1b3e2cfe37263 100644 (file)
@@ -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,
index f2db0b3795688f0ceb646baae64d1f1529b2eb7d..e57649429a8db2a31c9f0bfe88b76c48feaf7816 100644 (file)
@@ -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);
 }