mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 18:25:00 +00:00
Merge pull request #10829 from donaldsharp/rtm_delete
zebra: Do not complain if deletion fails
This commit is contained in:
commit
d590d0183f
@ -282,6 +282,12 @@ static int kernel_rtm(int cmd, const struct prefix *p,
|
||||
continue;
|
||||
|
||||
/* Note any unexpected status returns */
|
||||
case ZEBRA_ERR_RTNOEXIST:
|
||||
if (cmd != RTM_DELETE)
|
||||
flog_err(EC_LIB_SYSTEM_CALL,
|
||||
"%s: rtm_write() returned %d for command %d",
|
||||
__func__, error, cmd);
|
||||
break;
|
||||
default:
|
||||
flog_err(
|
||||
EC_LIB_SYSTEM_CALL,
|
||||
|
Loading…
Reference in New Issue
Block a user