diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-25 00:48:06 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-25 00:49:44 +0200 |
commit | 1bb1eb5a334e919d0f57ffa2746c64394b47d1e9 (patch) | |
tree | d7f00c52e04435f508901e2a4ae201a5975bb6b9 /src/protocols | |
parent | 53b74ddf2cfe0f654724c3a1aca16e7fb6044ae5 (diff) | |
download | fastd-1bb1eb5a334e919d0f57ffa2746c64394b47d1e9.tar fastd-1bb1eb5a334e919d0f57ffa2746c64394b47d1e9.zip |
fastd_peer_claim_address: allow claiming addresses from other peers when they aren't configured statically
Diffstat (limited to 'src/protocols')
-rw-r--r-- | src/protocols/ec25519_fhmqvc/handshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c index 845e790..444ce32 100644 --- a/src/protocols/ec25519_fhmqvc/handshake.c +++ b/src/protocols/ec25519_fhmqvc/handshake.c @@ -136,7 +136,7 @@ static bool establish(fastd_peer_t *peer, const fastd_method_info_t *method, fas pr_verbose("%I authorized as %P", remote_addr, peer); if (!fastd_peer_claim_address(peer, sock, local_addr, remote_addr)) { - pr_warn("can't set address %I which is used by a fixed peer", remote_addr); + pr_warn("can't establish session with %P[%I] as the address is used by another peer", peer, remote_addr); fastd_peer_reset(peer); return false; } |