summaryrefslogtreecommitdiffstats
path: root/vrrpd/vrrp_vty.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-02-12 21:39:55 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-05-17 02:27:08 +0200
commitb637bcd4456f86f4e2a230fbe765e5a212b77c3f (patch)
treee9f2e541d943ebfc28404de0ee7d5e592ef9397a /vrrpd/vrrp_vty.c
parentvrrpd: add debugging knobs (diff)
downloadfrr-b637bcd4456f86f4e2a230fbe765e5a212b77c3f.tar.xz
frr-b637bcd4456f86f4e2a230fbe765e5a212b77c3f.zip
vrrpd: use debugging knobs
* Gate all debugging messages with the debugging system * Simplify a bit of debugging where it was easy to do inline Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'vrrpd/vrrp_vty.c')
-rw-r--r--vrrpd/vrrp_vty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vrrpd/vrrp_vty.c b/vrrpd/vrrp_vty.c
index 3183315bf..df21e7da9 100644
--- a/vrrpd/vrrp_vty.c
+++ b/vrrpd/vrrp_vty.c
@@ -53,6 +53,8 @@
} \
} while (0);
+/* clang-format off */
+
DEFPY(vrrp_vrid,
vrrp_vrid_cmd,
"[no] vrrp (1-255)$vrid [version (2-3)]",
@@ -412,6 +414,8 @@ DEFUN_NOSH (show_debugging_vrrp,
return CMD_SUCCESS;
}
+/* clang-format on */
+
static struct cmd_node interface_node = {
INTERFACE_NODE,
"%s(config-if)# ", 1