Skip to content

Commit e6d1c8c

Browse files
committed
chore: update sing-tun to v0.4.0-rc.5
1 parent fabd216 commit e6d1c8c

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

component/iface/iface.go

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ type Interface struct {
1515
Name string
1616
Addresses []netip.Prefix
1717
HardwareAddr net.HardwareAddr
18+
Flags net.Flags
1819
}
1920

2021
var (
@@ -66,6 +67,7 @@ func Interfaces() (map[string]*Interface, error) {
6667
Name: iface.Name,
6768
Addresses: ipNets,
6869
HardwareAddr: iface.HardwareAddr,
70+
Flags: iface.Flags,
6971
}
7072
}
7173

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/metacubex/sing-quic v0.0.0-20240827003841-cd97758ed8b4
2626
github.com/metacubex/sing-shadowsocks v0.2.8
2727
github.com/metacubex/sing-shadowsocks2 v0.2.2
28-
github.com/metacubex/sing-tun v0.2.7-0.20241021011113-857bcd6ee47c
28+
github.com/metacubex/sing-tun v0.2.7-0.20241105010444-9ece61968014
2929
github.com/metacubex/sing-vmess v0.1.9-0.20240719134745-1df6fb20bbf9
3030
github.com/metacubex/sing-wireguard v0.0.0-20240924052438-b0976fc59ea3
3131
github.com/metacubex/tfo-go v0.0.0-20241006021335-daedaf0ca7aa
@@ -39,7 +39,7 @@ require (
3939
github.com/sagernet/cors v1.2.1
4040
github.com/sagernet/fswatch v0.1.1
4141
github.com/sagernet/netlink v0.0.0-20240612041022-b9a21c07ac6a
42-
github.com/sagernet/sing v0.5.0-rc.4
42+
github.com/sagernet/sing v0.5.0
4343
github.com/sagernet/sing-mux v0.2.1-0.20240124034317-9bfb33698bb6
4444
github.com/sagernet/sing-shadowtls v0.1.4
4545
github.com/samber/lo v1.47.0
@@ -116,4 +116,4 @@ require (
116116
golang.org/x/tools v0.24.0 // indirect
117117
)
118118

119-
replace github.com/sagernet/sing => github.com/metacubex/sing v0.0.0-20241021005542-18b67490300a
119+
replace github.com/sagernet/sing => github.com/metacubex/sing v0.0.0-20241105005934-13bf5e941908

go.sum

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,16 @@ github.com/metacubex/quic-go v0.48.2-0.20241105005628-a3e65bac65b2 h1:1prpWzQnhN
108108
github.com/metacubex/quic-go v0.48.2-0.20241105005628-a3e65bac65b2/go.mod h1:AiZ+UPgrkO1DTnmiAX4b+kRoV1Vfc65UkYD7RbFlIZA=
109109
github.com/metacubex/randv2 v0.2.0 h1:uP38uBvV2SxYfLj53kuvAjbND4RUDfFJjwr4UigMiLs=
110110
github.com/metacubex/randv2 v0.2.0/go.mod h1:kFi2SzrQ5WuneuoLLCMkABtiBu6VRrMrWFqSPyj2cxY=
111-
github.com/metacubex/sing v0.0.0-20241021005542-18b67490300a h1:JuR0/7RDxQtlZp/GOzrdqNq04HplTxavPRHrek8ouJk=
112-
github.com/metacubex/sing v0.0.0-20241021005542-18b67490300a/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
111+
github.com/metacubex/sing v0.0.0-20241105005934-13bf5e941908 h1:cZYdGEQKfLsw//TI7dk9bdplz48zitpEDbDGusB9d40=
112+
github.com/metacubex/sing v0.0.0-20241105005934-13bf5e941908/go.mod h1:ARkL0gM13/Iv5VCZmci/NuoOlePoIsW0m7BWfln/Hak=
113113
github.com/metacubex/sing-quic v0.0.0-20240827003841-cd97758ed8b4 h1:HobpULaPK6OoxrHMmgcwLkwwIduXVmwdcznwUfH1GQM=
114114
github.com/metacubex/sing-quic v0.0.0-20240827003841-cd97758ed8b4/go.mod h1:g7Mxj7b7zm7YVqD975mk/hSmrb0A0G4bVvIMr2MMzn8=
115115
github.com/metacubex/sing-shadowsocks v0.2.8 h1:wIhlaigswzjPw4hej75sEvWte3QR0+AJRafgwBHO5B4=
116116
github.com/metacubex/sing-shadowsocks v0.2.8/go.mod h1:X3x88XtJpBxG0W0/ECOJL6Ib0SJ3xdniAkU/6/RMWU0=
117117
github.com/metacubex/sing-shadowsocks2 v0.2.2 h1:eaf42uVx4Lr21S6MDYs0ZdTvGA0GEhDpb9no4+gdXPo=
118118
github.com/metacubex/sing-shadowsocks2 v0.2.2/go.mod h1:BhOug03a/RbI7y6hp6q+6ITM1dXjnLTmeWBHSTwvv2Q=
119-
github.com/metacubex/sing-tun v0.2.7-0.20241021011113-857bcd6ee47c h1:qfUZ8xBrViOCZamvcC8CyV7Ii8sAUrn7RqZxFGn56tQ=
120-
github.com/metacubex/sing-tun v0.2.7-0.20241021011113-857bcd6ee47c/go.mod h1:lCrP0AW7ieKnXG1JEeZLW+9h99QzjuOX0MfCQfz6TgE=
119+
github.com/metacubex/sing-tun v0.2.7-0.20241105010444-9ece61968014 h1:5zAAcCCyuorvkXu3su4VmUkYDXOdzvRKPGEdeyc+ljY=
120+
github.com/metacubex/sing-tun v0.2.7-0.20241105010444-9ece61968014/go.mod h1:GRcrj7VnhvYFsS34cv0J2qTVm5h9DvQuGwliVyVLVvE=
121121
github.com/metacubex/sing-vmess v0.1.9-0.20240719134745-1df6fb20bbf9 h1:OAXiCosqY8xKDp3pqTW3qbrCprZ1l6WkrXSFSCwyY4I=
122122
github.com/metacubex/sing-vmess v0.1.9-0.20240719134745-1df6fb20bbf9/go.mod h1:olVkD4FChQ5gKMHG4ZzuD7+fMkJY1G8vwOKpRehjrmY=
123123
github.com/metacubex/sing-wireguard v0.0.0-20240924052438-b0976fc59ea3 h1:xg71VmzLS6ByAzi/57phwDvjE+dLLs+ozH00k4DnOns=

0 commit comments

Comments
 (0)