diff options
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c index 0febd15..63527b7 100644 --- a/src/config.c +++ b/src/config.c @@ -1006,8 +1006,9 @@ static void peer_dirs_handle_new_peers(fastd_context_t *ctx, fastd_peer_config_t continue; peer->next = *peers; - *peers = peer; } + + *peers = new_peers; } |