1
0
mirror of https://github.com/fumiama/terasu-cloudflared.git synced 2026-06-12 14:10:31 +08:00

ZTC-234: macOS tests

This commit is contained in:
Joel May
2022-11-10 09:09:47 -08:00
parent 2baea15387
commit 6a1dad0ce2
4 changed files with 83 additions and 11 deletions

View File

@@ -0,0 +1,13 @@
//go:build linux
package ingress
import (
"testing"
"github.com/cloudflare/cloudflared/packet"
)
func getFunnel(t *testing.T, proxy *icmpProxy, tuple flow3Tuple) (packet.Funnel, bool) {
return proxy.srcFunnelTracker.Get(tuple)
}