aboutsummaryrefslogtreecommitdiff
path: root/src/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/peer.go')
-rw-r--r--src/peer.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peer.go b/src/peer.go
index 7c000da..7b2b2a6 100644
--- a/src/peer.go
+++ b/src/peer.go
@@ -1,6 +1,7 @@
package main
import (
+ "net"
"sync"
)
@@ -15,4 +16,5 @@ type Peer struct {
mutex sync.RWMutex
publicKey NoisePublicKey
presharedKey NoiseSymmetricKey
+ endpoint net.IP
}