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,10 +3002,12 @@ void zebra_nhg_dplane_result(struct zebra_dplane_ctx *ctx)
|
||||||
nhe->zapi_session, nhe->id,
|
nhe->zapi_session, nhe->id,
|
||||||
ZAPI_NHG_FAIL_INSTALL);
|
ZAPI_NHG_FAIL_INSTALL);
|
||||||
|
|
||||||
flog_err(
|
if (!(zebra_nhg_proto_nexthops_only() &&
|
||||||
EC_ZEBRA_DP_INSTALL_FAIL,
|
!PROTO_OWNED(nhe)))
|
||||||
"Failed to install Nexthop ID (%u) into the kernel",
|
flog_err(
|
||||||
nhe->id);
|
EC_ZEBRA_DP_INSTALL_FAIL,
|
||||||
|
"Failed to install Nexthop ID (%u) into the kernel",
|
||||||
|
nhe->id);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue