mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 07:30:53 +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;
|
continue;
|
||||||
|
|
||||||
/* Note any unexpected status returns */
|
/* 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:
|
default:
|
||||||
flog_err(
|
flog_err(
|
||||||
EC_LIB_SYSTEM_CALL,
|
EC_LIB_SYSTEM_CALL,
|
||||||
|
Loading…
Reference in New Issue
Block a user