diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-10-02 23:52:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-02 23:52:53 -0400 |
| commit | 4b40d5ffb0c34d4e99dd121085b46d4f4a896b72 (patch) | |
| tree | dc7a3949a66a00ecc6df1ff00307a78c9574848a /staticd/static_vty.c | |
| parent | 25a7a8e5e5c444633e95bd4095a5922c392a48e3 (diff) | |
| parent | b2f6ab679c4d9fa0239fdf02ee6ed55eb18e1a4e (diff) | |
Merge pull request #6882 from vishaldhingra/static
staticd : Added the warning log for route when VRF is not ready.
Diffstat (limited to 'staticd/static_vty.c')
| -rw-r--r-- | staticd/static_vty.c | 16 |
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; } |
