mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-11 21:56:34 +00:00

A funnel is an abstraction for 1 source to many destinations. As part of this refactoring, shared logic between Darwin and Linux are moved into icmp_posix
16 lines
318 B
Go
16 lines
318 B
Go
//go:build !darwin && !linux && !windows
|
|
|
|
package ingress
|
|
|
|
import (
|
|
"fmt"
|
|
"net/netip"
|
|
"runtime"
|
|
|
|
"github.com/rs/zerolog"
|
|
)
|
|
|
|
func newICMPProxy(listenIP netip.Addr, logger *zerolog.Logger, idleTimeout time.Duration) (ICMPProxy, error) {
|
|
return nil, fmt.Errorf("ICMP proxy is not implemented on %s", runtime.GOOS)
|
|
}
|