Skip to content

Commit

Permalink
Merge pull request #160 from zshi-redhat/4.14-macvlan-ipv6-nd
Browse files Browse the repository at this point in the history
OCPBUGS-33066: macvlan enable ipv6 ndisc_notify
  • Loading branch information
openshift-merge-bot[bot] committed Apr 30, 2024
2 parents 7295a5e + 4047d1b commit bab8a4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/main/macvlan/macvlan.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,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 bab8a4f

Please sign in to comment.