diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-20 06:25:39 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-20 06:29:21 +0200 |
commit | c5fa3de24c03872c582718185c4b35737cdf13ea (patch) | |
tree | c8356d0206098d54c9c993d1541acf20b21f7e5d | |
parent | 1068d6b92b905adef34525fbac37a5af7290f4fa (diff) |
Remove unused mtu variable
-rw-r--r-- | tun_darwin.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tun_darwin.go b/tun_darwin.go index 64e4780..a74dbac 100644 --- a/tun_darwin.go +++ b/tun_darwin.go @@ -40,7 +40,6 @@ type NativeTun struct { name string fd *os.File rwcancel *rwcancel.RWCancel - mtu int events chan TUNEvent errors chan error routeSocket int @@ -168,7 +167,6 @@ func CreateTUNFromFile(file *os.File) (TUNDevice, error) { tun := &NativeTun{ fd: file, - mtu: 1500, events: make(chan TUNEvent, 10), errors: make(chan error, 1), } |