mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 16:26:10 +00:00
staticd: warn on attempted delete of non-existent route
Signed-off-by: Wesley Coakley <wcoakley@nvidia.com>
This commit is contained in:
parent
a7279c5f43
commit
65c99282d2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user