cloudflared-mirror/ingress/icmp_generic.go

16 lines
291 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) (ICMPProxy, error) {
return nil, fmt.Errorf("ICMP proxy is not implemented on %s", runtime.GOOS)
}