diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2021-05-03 13:03:22 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2021-05-04 08:54:50 -0700 |
| commit | f91c2dfaca0f54e34b58dbd2ae5fd1a031748b8c (patch) | |
| tree | f58d4189c700d54c393e174df5b9b485a28463d9 | |
| parent | bfd2b7192676bd5be348bd583875266905c2bfc9 (diff) | |
| download | tailscale-f91c2dfaca0f54e34b58dbd2ae5fd1a031748b8c.tar.xz tailscale-f91c2dfaca0f54e34b58dbd2ae5fd1a031748b8c.zip | |
wgengine/router: remove unused field
Signed-off-by: Josh Bleecher Snyder <josharian@gmail.com>
| -rw-r--r-- | wgengine/router/router_windows.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/wgengine/router/router_windows.go b/wgengine/router/router_windows.go index 42c81590b..216b95d0c 100644 --- a/wgengine/router/router_windows.go +++ b/wgengine/router/router_windows.go @@ -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) { |
