diff options
Diffstat (limited to 'tun')
-rw-r--r-- | tun/tun_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/tun_windows.go b/tun/tun_windows.go index e949c05..a132d06 100644 --- a/tun/tun_windows.go +++ b/tun/tun_windows.go @@ -104,7 +104,7 @@ func CreateTUNWithRequestedGUID(ifname string, requestedGUID *windows.GUID, mtu tun.session, err = wt.StartSession(0x800000) // Ring capacity, 8 MiB if err != nil { - _, err = tun.wt.Delete(false) + tun.wt.Delete(false) close(tun.events) return nil, fmt.Errorf("Error starting session: %w", err) } |