Add support for multi tun address prefix
This commit is contained in:
parent
197b599075
commit
2f5a02c140
4 changed files with 192 additions and 138 deletions
4
tun.go
4
tun.go
|
|
@ -32,8 +32,8 @@ type WinTun interface {
|
|||
|
||||
type Options struct {
|
||||
Name string
|
||||
Inet4Address netip.Prefix
|
||||
Inet6Address netip.Prefix
|
||||
Inet4Address []netip.Prefix
|
||||
Inet6Address []netip.Prefix
|
||||
MTU uint32
|
||||
AutoRoute bool
|
||||
StrictRoute bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue