summaryrefslogtreecommitdiffhomepage
path: root/main.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 14:08:03 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 14:08:03 +0200
commit795f76cffa1a222e494e4609e5d3ed2f2557c463 (patch)
tree853c2a88137337f235a827df643fa5224eaefcc4 /main.go
parent2dfd4e7d8c5f5540690dfbbac50aa6f020b2cbbc (diff)
Netlink sockets can't be shutdown
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/main.go b/main.go
index c9ef343..6e876df 100644
--- a/main.go
+++ b/main.go
@@ -221,14 +221,10 @@ func main() {
return
}
- // create wireguard device
-
device := NewDevice(tun, logger)
logger.Info.Println("Device started")
- // start uapi listener
-
errs := make(chan error)
term := make(chan os.Signal)