Skip to content

Commit

Permalink
Use of scope for routes
Browse files Browse the repository at this point in the history
  • Loading branch information
LionelJouin committed Feb 17, 2024
1 parent 9ae5e2c commit 66b0802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ipam/ipam_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ func ConfigureIface(ifName string, res *current.Result) error {
Dst: &r.Dst,
LinkIndex: link.Attrs().Index,
Gw: gw,
Scope: netlink.Scope(r.Scope),
}

if err = netlink.RouteAddEcmp(&route); err != nil {
Expand Down

0 comments on commit 66b0802

Please sign in to comment.