summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/peer.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/peer.c b/src/peer.c
index 0fbda1a..75475ba 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -251,9 +251,6 @@ void fastd_peer_reset_socket(fastd_peer_t *peer) {
else
peer->sock = fastd_socket_open(peer, AF_INET6);
}
-
- if (!peer->sock || !fastd_peer_is_socket_dynamic(peer))
- return;
}
/** Schedules the peer maintenance task (or removes the scheduled task if there's nothing to do) */