mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-12-09 10:47:27 +00:00
Merge pull request #14675 from donaldsharp/evpn_label
zebra: Add encap type when building packet for FPM
This commit is contained in:
commit
a401dcef8d
@ -2413,19 +2413,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;
|
||||
|
||||
/*
|
||||
* Add encapsulation information when
|
||||
* installing via FPM.
|
||||
*/
|
||||
if (fpm) {
|
||||
if (!netlink_route_nexthop_encap(&req->n,
|
||||
datalen,
|
||||
nexthop))
|
||||
return 0;
|
||||
}
|
||||
|
||||
nexthop_num++;
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* Add encapsulation information when installing via
|
||||
* FPM.
|
||||
*/
|
||||
if (fpm) {
|
||||
if (!netlink_route_nexthop_encap(
|
||||
&req->n, datalen, nexthop))
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (setsrc) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user