Begin work on full device<->device unit-test

To simulate a full interaction between two WireGuard
instances without networking, using dummy instances of the interfaces
This commit is contained in:
Mathias Hall-Andersen
2018-03-08 16:44:27 +01:00
parent fd248c6cb1
commit 6cecaf3157
4 changed files with 142 additions and 1 deletions

View File

@@ -475,7 +475,7 @@ func (device *Device) RoutineHandshake() {
peer.endpoint = elem.endpoint
peer.mutex.Unlock()
logDebug.Println("Received handshake initiation from", peer)
logDebug.Println(peer, ": Received handshake initiation")
peer.TimerEphemeralKeyCreated()