summaryrefslogtreecommitdiffhomepage
path: root/tun/tun_openbsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'tun/tun_openbsd.go')
-rw-r--r--tun/tun_openbsd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tun/tun_openbsd.go b/tun/tun_openbsd.go
index ee8cf5a..e7fd79c 100644
--- a/tun/tun_openbsd.go
+++ b/tun/tun_openbsd.go
@@ -200,7 +200,7 @@ func (tun *NativeTun) File() *os.File {
return tun.tunFile
}
-func (tun *NativeTun) Events() chan Event {
+func (tun *NativeTun) Events() <-chan Event {
return tun.events
}