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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/staticd/static_vty.c b/staticd/static_vty.c
index ea09054a23..f16b40a23f 100644
--- a/staticd/static_vty.c
+++ b/staticd/static_vty.c
@@ -325,7 +325,8 @@ static int static_route_leak(struct vty *vty, const char *svrf,
dnode = yang_dnode_get(vty->candidate_config->dnode, ab_xpath);
if (!dnode) {
- /* Silently return */
+ vty_out(vty,
+ "%% Refusing to remove a non-existent route\n");
return CMD_SUCCESS;
}