From 7a55617a0ea3d322f919d3f4a203f1b95575e2db Mon Sep 17 00:00:00 2001 From: Michael Zappa Date: Sat, 8 Jan 2022 09:52:19 -0700 Subject: [PATCH] Remove arp notify setting per comment Signed-off-by: Michael Zappa --- plugins/main/ptp/ptp.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/main/ptp/ptp.go b/plugins/main/ptp/ptp.go index bd15e8c6..bc61f1e6 100644 --- a/plugins/main/ptp/ptp.go +++ b/plugins/main/ptp/ptp.go @@ -34,7 +34,6 @@ import ( "github.com/containernetworking/plugins/pkg/ns" "github.com/containernetworking/plugins/pkg/utils" bv "github.com/containernetworking/plugins/pkg/utils/buildversion" - "github.com/containernetworking/plugins/pkg/utils/sysctl" ) func init() { @@ -88,8 +87,6 @@ func setupContainerVeth(netns ns.NetNS, ifName string, mtu int, pr *current.Resu return fmt.Errorf("failed to look up %q: %v", ifName, err) } - _, _ = sysctl.Sysctl(fmt.Sprintf("net/ipv4/conf/%s/arp_notify", ifName), "1") - if err = ipam.ConfigureIface(ifName, pr); err != nil { return err }