mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-03 20:07:40 +03:00
Add strict route option
This commit is contained in:
parent
d1c9876e60
commit
e01ce3a8a7
5 changed files with 106 additions and 74 deletions
1
tun.go
1
tun.go
|
@ -36,6 +36,7 @@ type Options struct {
|
|||
Inet6Address netip.Prefix
|
||||
MTU uint32
|
||||
AutoRoute bool
|
||||
StrictRoute bool
|
||||
IncludeUID []ranges.Range[uint32]
|
||||
ExcludeUID []ranges.Range[uint32]
|
||||
IncludeAndroidUser []int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue