mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 01:37:53 +00:00
Merge pull request #5552 from sworleys/NHG-Set-RTNH_F_ONLINK
zebra: set RTNH_F_ONLINK in nexthop creation
This commit is contained in:
commit
b1980880ba
@ -2044,6 +2044,9 @@ static int netlink_nexthop(int cmd, struct zebra_dplane_ctx *ctx)
|
||||
|
||||
addattr32(&req.n, req_size, NHA_OIF, nh->ifindex);
|
||||
|
||||
if (CHECK_FLAG(nh->flags, NEXTHOP_FLAG_ONLINK))
|
||||
req.nhm.nh_flags |= RTNH_F_ONLINK;
|
||||
|
||||
num_labels =
|
||||
build_label_stack(nh->nh_label, out_lse,
|
||||
label_buf, sizeof(label_buf));
|
||||
|
Loading…
Reference in New Issue
Block a user