Skip to content

Commit 93a1b3d

Browse files
authored
Merge pull request #979 from s1061123/fix/ndisc_ipvlan
Add ndisc_notify in ipvlan for ipv6 ndp
2 parents e82848a + 00406f9 commit 93a1b3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/main/ipvlan/ipvlan.go

+1
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ func cmdAdd(args *skel.CmdArgs) error {
293293

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

297298
return ipam.ConfigureIface(args.IfName, result)
298299
})

0 commit comments

Comments
 (0)