mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 21:47:15 +02:00
Merge pull request #10908 from donaldsharp/proto_only_error
zebra: When `zebra nexthop proto only` limit errors
This commit is contained in:
commit
16b5065b47
|
@ -3002,6 +3002,8 @@ void zebra_nhg_dplane_result(struct zebra_dplane_ctx *ctx)
|
|||
nhe->zapi_session, nhe->id,
|
||||
ZAPI_NHG_FAIL_INSTALL);
|
||||
|
||||
if (!(zebra_nhg_proto_nexthops_only() &&
|
||||
!PROTO_OWNED(nhe)))
|
||||
flog_err(
|
||||
EC_ZEBRA_DP_INSTALL_FAIL,
|
||||
"Failed to install Nexthop ID (%u) into the kernel",
|
||||
|
|
Loading…
Reference in a new issue