zebra: Add encap type when building packet for FPM (backport #14675) #14755
frrbot / frrbot
completed
Nov 8, 2023 in 7s
Style and/or linter errors found
Style and/or linter errors found
Details
Thanks for your contribution to FRR!
Click for style suggestions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c
index a54068769..875bdc571 100644
--- a/zebra/rt_netlink.c
+++ b/zebra/rt_netlink.c
@@ -2334,9 +2334,8 @@ ssize_t netlink_route_multipath_msg_encode(int cmd,
* installing via FPM.
*/
if (fpm) {
- if (!netlink_route_nexthop_encap(&req->n,
- datalen,
- nexthop))
+ if (!netlink_route_nexthop_encap(
+ &req->n, datalen, nexthop))
return 0;
}
To apply the style suggestions:
curl https://gist.githubusercontent.com/polychaeta/98032a4b5d6834224d146dca6d6a5217/raw/c877707f2e768c1d4a87118cde2a6c2579903220/style.diff | git apply -
If you are a new contributor to FRR, please see our contributing guidelines.
After making changes, you do not need to create a new PR. You should perform an amend or interactive rebase followed by a force push.
Loading