summaryrefslogtreecommitdiffhomepage
path: root/uapi_darwin.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2018-05-05 04:15:41 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2018-05-05 04:15:41 +0200
commitd8d592787df648dfa1043cfd23e842d53f3b3f27 (patch)
treef07258a517340938d5508bb7480c320e53bd0d01 /uapi_darwin.go
parent7a83f2565a13624d8cb9ca6adf1aced721777a9c (diff)
parent142e53f69827e6778d809d9606bb7cd4e77694a2 (diff)
Merge branch 'master' of ssh://git.zx2c4.com/wireguard-go
Diffstat (limited to 'uapi_darwin.go')
-rw-r--r--uapi_darwin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/uapi_darwin.go b/uapi_darwin.go
index 69b0e3d..449fb98 100644
--- a/uapi_darwin.go
+++ b/uapi_darwin.go
@@ -94,9 +94,9 @@ func UAPIListen(name string, file *os.File) (net.Listener, error) {
go func(l *UAPIListener) {
event := unix.Kevent_t{
- Ident: uint64(uapi.keventFd),
+ Ident: uint64(uapi.keventFd),
Filter: unix.EVFILT_VNODE,
- Flags: unix.EV_ADD | unix.EV_ENABLE | unix.EV_ONESHOT,
+ Flags: unix.EV_ADD | unix.EV_ENABLE | unix.EV_ONESHOT,
Fflags: unix.NOTE_WRITE,
}
events := make([]unix.Kevent_t, 1)