mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 03:33:43 +00:00
Merge pull request #14702 from FRRouting/mergify/bp/dev/9.1/pr-14675
zebra: Add encap type when building packet for FPM (backport #14675)
This commit is contained in:
commit
d0a8f8074a
@ -2412,19 +2412,21 @@ ssize_t netlink_route_multipath_msg_encode(int cmd, struct zebra_dplane_ctx *ctx
|
||||
p, routedesc, bytelen, nexthop,
|
||||
&req->n, &req->r, datalen, cmd))
|
||||
return 0;
|
||||
nexthop_num++;
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add encapsulation information when installing via
|
||||
* FPM.
|
||||
* Add encapsulation information when
|
||||
* 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;
|
||||
}
|
||||
|
||||
nexthop_num++;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (setsrc) {
|
||||
|
Loading…
Reference in New Issue
Block a user