cloudflared-mirror/ingress/icmp_generic.go

17 lines
326 B
Go

//go:build !darwin && !linux && !windows
package ingress
import (
"fmt"
"net/netip"
"runtime"
"time"
"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)
}