diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2020-12-17 15:20:35 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-07 14:49:44 +0100 |
commit | d0f8e9477c14a1c92f84beb46cd17b91c56fae44 (patch) | |
tree | bb0d6ee1c1f47f8fed92da6cc72f860a2e4dfcbe | |
parent | b42e32047d16cc4389ef63550e525c7b08320172 (diff) |
device: remove unnecessary zeroing
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
-rw-r--r-- | device/peer.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/device/peer.go b/device/peer.go index ac85c94..96040e6 100644 --- a/device/peer.go +++ b/device/peer.go @@ -102,7 +102,6 @@ func (device *Device) NewPeer(pk NoisePublicKey) (*Peer, error) { peer.cookieGenerator.Init(pk) peer.device = device - peer.isRunning.Set(false) // map public key |