]> Cypherpunks.ru repositories - govpn.git/blobdiff - tap_freebsd.go
Raise copyright years
[govpn.git] / tap_freebsd.go
index 547fb06d44afafab9c5362aa5de7197fd80a7ed7..677ba29a696938ad8517f76cfa9cfe1ad309863f 100644 (file)
@@ -2,7 +2,7 @@
 
 /*
 GoVPN -- simple secure free software virtual private network daemon
-Copyright (C) 2014-2015 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2014-2020 Sergey Matveev <stargrave@stargrave.org>
 */
 
 package govpn
@@ -13,6 +13,6 @@ import (
        "path"
 )
 
-func newTAPer(ifaceName string) (io.ReadWriteCloser, error) {
+func newTAPer(ifaceName string) (io.ReadWriter, error) {
        return os.OpenFile(path.Join("/dev/", ifaceName), os.O_RDWR, os.ModePerm)
 }