wgengine: don't create duplicate iptables rules on Linux, clean up

Fixes #131

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-03-03 12:38:51 -08:00
committed by Brad Fitzpatrick
parent 21fc5ec371
commit 89a2c3eb04
3 changed files with 44 additions and 17 deletions

1
go.mod
View File

@@ -5,6 +5,7 @@ go 1.13
require (
github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 // indirect
github.com/apenwarr/fixconsole v0.0.0-20191012055117-5a9f6489cc29
github.com/coreos/go-iptables v0.4.5
github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 // indirect
github.com/gliderlabs/ssh v0.2.2
github.com/go-ole/go-ole v1.2.4