Skip to content

Commit 999ca15

Browse files
committed
macvlan: enable ipv6 ndisc_notify
Signed-off-by: Zenghui Shi <[email protected]>
1 parent dad27e9 commit 999ca15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/main/macvlan/macvlan.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,7 @@ func cmdAdd(args *skel.CmdArgs) error {
351351

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

355356
return ipam.ConfigureIface(args.IfName, result)
356357
})

0 commit comments

Comments
 (0)