Replace usages of common/atomic

This commit is contained in:
世界 2025-08-25 19:59:21 +08:00
parent 854e40dc40
commit d0ff7b6f6c
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
6 changed files with 8 additions and 8 deletions

View file

@ -6,12 +6,12 @@ import (
"net/netip"
"reflect"
"runtime"
"sync/atomic"
"time"
"github.com/sagernet/sing-tun/internal/gtcpip/checksum"
"github.com/sagernet/sing-tun/internal/gtcpip/header"
"github.com/sagernet/sing/common"
"github.com/sagernet/sing/common/atomic"
"github.com/sagernet/sing/common/buf"
"github.com/sagernet/sing/common/control"
E "github.com/sagernet/sing/common/exceptions"
@ -28,7 +28,7 @@ type Conn struct {
privileged bool
conn net.Conn
destination netip.Addr
source atomic.TypedValue[netip.Addr]
source common.TypedValue[netip.Addr]
closed atomic.Bool
}