diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-25 00:56:07 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-25 00:56:07 +0200 |
commit | 482ddc46a62b9a6b8bd615fd35b2bac6d3b7d841 (patch) | |
tree | c96ed40c8c3c962fd17235809fb49b2b23e93dbc /src/peer.h | |
parent | 1bb1eb5a334e919d0f57ffa2746c64394b47d1e9 (diff) | |
download | fastd-482ddc46a62b9a6b8bd615fd35b2bac6d3b7d841.tar fastd-482ddc46a62b9a6b8bd615fd35b2bac6d3b7d841.zip |
fastd_peer_claim_address: add parameter to allow claiming addresses of established peers
Diffstat (limited to 'src/peer.h')
-rw-r--r-- | src/peer.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -139,7 +139,7 @@ bool fastd_peer_may_connect(fastd_peer_t *peer); void fastd_peer_handle_resolve(fastd_peer_t *peer, fastd_remote_t *remote, size_t n_addresses, const fastd_peer_address_t *addresses); bool fastd_peer_owns_address(const fastd_peer_t *peer, const fastd_peer_address_t *addr); bool fastd_peer_matches_address(const fastd_peer_t *peer, const fastd_peer_address_t *addr); -bool fastd_peer_claim_address(fastd_peer_t *peer, fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr); +bool fastd_peer_claim_address(fastd_peer_t *peer, fastd_socket_t *sock, const fastd_peer_address_t *local_addr, const fastd_peer_address_t *remote_addr, bool force); void fastd_peer_reset_socket(fastd_peer_t *peer); void fastd_peer_schedule_handshake(fastd_peer_t *peer, int delay); fastd_peer_t* fastd_peer_find_by_id(uint64_t id); |