Skip to content

Commit

Permalink
refactor: rename packages
Browse files Browse the repository at this point in the history
  • Loading branch information
igoogolx committed Oct 18, 2023
1 parent 2363fd7 commit 6bc5ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/tunnel/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package tunnel

import (
"github.com/igoogolx/itun2socks/internal/conn"
statistic2 "github.com/igoogolx/itun2socks/internal/tunnel/statistic"
"github.com/igoogolx/itun2socks/internal/tunnel/statistic"
"github.com/igoogolx/itun2socks/pkg/log"
"github.com/igoogolx/itun2socks/pkg/network_iface"
"github.com/igoogolx/itun2socks/pkg/pool"
Expand Down Expand Up @@ -34,7 +34,7 @@ func handleTCPConn(ct conn.TcpConnContext) {
log.Warnln(log.FormatLog(log.TcpPrefix, "fail to get tcp conn, err: %v, rule: %v, remote ip: %v"), err, ct.Rule(), ct.Metadata().DstIP)
return
}
remoteConn = statistic2.NewTCPTracker(remoteConn, statistic2.DefaultManager, ct.Metadata(), ct.Rule())
remoteConn = statistic.NewTCPTracker(remoteConn, statistic.DefaultManager, ct.Metadata(), ct.Rule())

wg := sync.WaitGroup{}
wg.Add(2)
Expand Down

0 comments on commit 6bc5ae2

Please sign in to comment.