mirror of
https://github.com/tailscale/tailscale.git
synced 2025-01-05 23:07:44 +00:00
wgengine/router: remove unused field
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
This commit is contained in:
parent
bfd2b71926
commit
f91c2dfaca
@ -30,15 +30,6 @@ type winRouter struct {
|
||||
nativeTun *tun.NativeTun
|
||||
routeChangeCallback *winipcfg.RouteChangeCallback
|
||||
firewall *firewallTweaker
|
||||
|
||||
// firewallSubproc is a subprocess that runs a tweaked version of
|
||||
// wireguard-windows's "default route killswitch" code. We run it
|
||||
// as a subprocess because it does unsafe callouts to the WFP API,
|
||||
// and we want to defend against memory corruption in our main
|
||||
// process. Owned and mutated only by Set, and doesn't need a lock
|
||||
// because Set is only called with wgengine's lock held,
|
||||
// preventing concurrent reconfigs.
|
||||
firewallSubproc *exec.Cmd
|
||||
}
|
||||
|
||||
func newUserspaceRouter(logf logger.Logf, tundev tun.Device) (Router, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user