From e894c86ef315ea0943dfae854984131d8c1b370c Mon Sep 17 00:00:00 2001 From: Tomofumi Hayashi Date: Mon, 13 Nov 2023 14:46:37 +0900 Subject: [PATCH] Add ndisc_notify in ipvlan for ipv6 ndp --- plugins/main/ipvlan/ipvlan.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/main/ipvlan/ipvlan.go b/plugins/main/ipvlan/ipvlan.go index c0cd4c254..5ab9e5a92 100644 --- a/plugins/main/ipvlan/ipvlan.go +++ b/plugins/main/ipvlan/ipvlan.go @@ -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) })