summaryrefslogtreecommitdiff
path: root/staticd/static_vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'staticd/static_vty.c')
-rw-r--r--staticd/static_vty.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/staticd/static_vty.c b/staticd/static_vty.c
index 4821671554..f5bc9df649 100644
--- a/staticd/static_vty.c
+++ b/staticd/static_vty.c
@@ -1111,19 +1111,17 @@ DEFPY_YANG(ipv6_route_vrf,
ifname, flag, tag_str, distance_str, label,
table_str, false, color_str);
}
-DEFPY_YANG(debug_staticd,
- debug_staticd_cmd,
- "[no] debug static [{events$events}]",
- NO_STR
- DEBUG_STR
- STATICD_STR
- "Debug events\n")
+DEFPY_YANG(debug_staticd, debug_staticd_cmd,
+ "[no] debug static [{events$events|route$route}]",
+ NO_STR DEBUG_STR STATICD_STR
+ "Debug events\n"
+ "Debug route\n")
{
/* If no specific category, change all */
if (strmatch(argv[argc - 1]->text, "static"))
- static_debug_set(vty->node, !no, true);
+ static_debug_set(vty->node, !no, true, true);
else
- static_debug_set(vty->node, !no, !!events);
+ static_debug_set(vty->node, !no, !!events, !!route);
return CMD_SUCCESS;
}