cloudflared-mirror/ingress/icmp_generic.go

17 lines
326 B
Go
Raw Normal View History

//go:build !darwin && !linux && !windows
package ingress
import (
"fmt"
"net/netip"
"runtime"
2022-09-09 13:47:46 +00:00
"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)
}