aboutsummaryrefslogtreecommitdiffstats
path: root/uapi.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 03:38:06 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 03:38:06 +0200
commitc1e097d6d0cabb81b3aa180d69107f9857606bf5 (patch)
tree000c3ba19fa2c3a6da7fe848cdaf9e9d313cede8 /uapi.go
parentFix dummy additions (diff)
downloadwireguard-go-c1e097d6d0cabb81b3aa180d69107f9857606bf5.tar.xz
wireguard-go-c1e097d6d0cabb81b3aa180d69107f9857606bf5.zip
Optional logging even in background
Diffstat (limited to 'uapi.go')
-rw-r--r--uapi.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/uapi.go b/uapi.go
index 9858f60..f846033 100644
--- a/uapi.go
+++ b/uapi.go
@@ -235,7 +235,6 @@ func ipcSetOperation(device *Device, socket *bufio.ReadWriter) *IPCError {
dummy = device.staticIdentity.publicKey.Equals(publicKey)
device.staticIdentity.mutex.RUnlock()
-
if dummy {
peer = &Peer{}
} else {