summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/peer.c b/src/peer.c
index 5837ca5..7a3029d 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -766,14 +766,6 @@ void fastd_peer_handle_handshake_queue(void) {
fastd_resolve_peer(peer, next_remote);
}
-void fastd_peer_enable_temporary(fastd_peer_t *peer) {
- if (peer->config)
- exit_bug("trying to re-enable non-temporary peer");
-
- VECTOR_ADD(ctx.peers, peer);
- fastd_poll_add_peer();
-}
-
void fastd_peer_set_established(fastd_peer_t *peer) {
if (fastd_peer_is_established(peer))
return;