Skip to content

Commit 546b9bf

Browse files
committed
tunnel: fix build
1 parent 949e5f8 commit 546b9bf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tunnel/dialer.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"net"
1111
"net/netip"
1212

13-
"github.com/celzero/firestack/intra/core"
1413
"github.com/celzero/firestack/intra/log"
1514
"github.com/celzero/firestack/intra/protect"
1615
"github.com/celzero/firestack/intra/settings"
@@ -22,9 +21,9 @@ import (
2221

2322
var _ protect.RDialer = (*gtunnel)(nil)
2423

25-
// Handle implements protect.RDialer.
26-
func (h *gtunnel) Handle() uintptr {
27-
return core.Loc(h)
24+
// ID implements protect.RDialer.
25+
func (h *gtunnel) ID() string {
26+
return "gtunnel"
2827
}
2928

3029
// Dial implements protect.RDialer.

0 commit comments

Comments
 (0)