Skip to content

Commit

Permalink
Merge pull request #979 from s1061123/fix/ndisc_ipvlan
Browse files Browse the repository at this point in the history
Add ndisc_notify in ipvlan for ipv6 ndp
  • Loading branch information
squeed authored Nov 13, 2023
2 parents e82848a + 00406f9 commit 93a1b3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/main/ipvlan/ipvlan.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ func cmdAdd(args *skel.CmdArgs) error {

err = netns.Do(func(_ ns.NetNS) error {
_, _ = sysctl.Sysctl(fmt.Sprintf("net/ipv4/conf/%s/arp_notify", args.IfName), "1")
_, _ = sysctl.Sysctl(fmt.Sprintf("net/ipv6/conf/%s/ndisc_notify", args.IfName), "1")

return ipam.ConfigureIface(args.IfName, result)
})
Expand Down

0 comments on commit 93a1b3d

Please sign in to comment.