diff options
Diffstat (limited to '')
-rw-r--r-- | tun_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tun_linux.go b/tun_linux.go index b35e08d..97973a7 100644 --- a/tun_linux.go +++ b/tun_linux.go @@ -283,7 +283,7 @@ func (tun *NativeTun) Events() chan TUNEvent { } func (tun *NativeTun) Close() error { - return nil + return tun.fd.Close() } func CreateTUNFromFile(name string, fd *os.File) (TUNDevice, error) { |