mirror of
https://github.com/whyvl/wireproxy.git
synced 2025-04-29 19:01:42 +02:00
make VirtualTun fields public
This commit is contained in:
parent
2d53f675af
commit
b18b709f84
2 changed files with 9 additions and 9 deletions
|
@ -75,7 +75,7 @@ func StartWireguard(conf *DeviceConfig) (*VirtualTun, error) {
|
|||
}
|
||||
|
||||
return &VirtualTun{
|
||||
tnet: tnet,
|
||||
systemDNS: len(setting.dns) == 0,
|
||||
Tnet: tnet,
|
||||
SystemDNS: len(setting.dns) == 0,
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue