We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95b079a commit bc82739Copy full SHA for bc82739
tunnel/dialer.go
@@ -10,6 +10,7 @@ import (
10
"net"
11
"net/netip"
12
13
+ "github.com/celzero/firestack/intra/core"
14
"github.com/celzero/firestack/intra/log"
15
"github.com/celzero/firestack/intra/protect"
16
"github.com/celzero/firestack/intra/settings"
@@ -21,6 +22,11 @@ import (
21
22
23
var _ protect.RDialer = (*gtunnel)(nil)
24
25
+// Handle implements protect.RDialer.
26
+func (h *gtunnel) Handle() uintptr {
27
+ return core.Loc(h)
28
+}
29
+
30
// Dial implements protect.RDialer.
31
func (t *gtunnel) Dial(network, addr string) (protect.Conn, error) {
32
taddr, proto := fulladdr(addr) // taddr may be nil
0 commit comments