summaryrefslogtreecommitdiffhomepage
path: root/src/tun_linux.go
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2017-09-01 14:21:53 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2017-09-01 14:21:53 +0200
commit0294a5c0dd753786996e62236b7d8d524201ace4 (patch)
tree6e4623154072100ff402b45c2ac26fcff30da0fd /src/tun_linux.go
parent239d582cb213775d6896908bbcdaad79e143cbd6 (diff)
Improved handling of key-material
Diffstat (limited to 'src/tun_linux.go')
-rw-r--r--src/tun_linux.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tun_linux.go b/src/tun_linux.go
index b9541c9..58a762a 100644
--- a/src/tun_linux.go
+++ b/src/tun_linux.go
@@ -63,6 +63,8 @@ func (tun *NativeTun) RoutineNetlinkListener() {
return
}
+ tun.events <- TUNEventUp // TODO: Fix network namespace problem
+
for msg := make([]byte, 1<<16); ; {
msgn, _, _, _, err := unix.Recvmsg(sock, msg[:], nil, 0)