summaryrefslogtreecommitdiffstats
path: root/src/peer.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-25 00:48:06 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-25 00:49:44 +0200
commit1bb1eb5a334e919d0f57ffa2746c64394b47d1e9 (patch)
treed7f00c52e04435f508901e2a4ae201a5975bb6b9 /src/peer.c
parent53b74ddf2cfe0f654724c3a1aca16e7fb6044ae5 (diff)
downloadfastd-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/peer.c')
-rw-r--r--src/peer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/peer.c b/src/peer.c
index b8763b6..feacc73 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -466,9 +466,6 @@ bool fastd_peer_claim_address(fastd_peer_t *new_peer, fastd_socket_t *sock, cons
}
if (fastd_peer_address_equal(&peer->address, remote_addr)) {
- if (fastd_peer_is_established(peer))
- return false;
-
reset_peer_address(peer);
break;
}