github.com/cilium/cilium@v1.16.2/pkg/datapath/iptables/sysctl_darwin.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  package iptables
     5  
     6  import "github.com/cilium/cilium/pkg/datapath/linux/sysctl"
     7  
     8  // enableIPForwarding on OS X and Darwin is not doing anything. It just exists
     9  // to make compilation possible.
    10  func enableIPForwarding(_ sysctl.Sysctl, _ bool) error {
    11  	return nil
    12  }