From 482ddc46a62b9a6b8bd615fd35b2bac6d3b7d841 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 25 Apr 2014 00:56:07 +0200 Subject: fastd_peer_claim_address: add parameter to allow claiming addresses of established peers --- src/protocols/ec25519_fhmqvc/handshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocols/ec25519_fhmqvc') diff --git a/src/protocols/ec25519_fhmqvc/handshake.c b/src/protocols/ec25519_fhmqvc/handshake.c index 444ce32..7e893c8 100644 --- a/src/protocols/ec25519_fhmqvc/handshake.c +++ b/src/protocols/ec25519_fhmqvc/handshake.c @@ -135,7 +135,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)) { + if (!fastd_peer_claim_address(peer, sock, local_addr, remote_addr, true)) { 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; -- cgit v1.2.3