summaryrefslogtreecommitdiffstats
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index c3c9844..bce724e 100644
--- a/src/options.c
+++ b/src/options.c
@@ -122,8 +122,8 @@ static void option_config_peer(const char *arg) {
if(!fastd_config_read(arg, conf.peer_group, peer, 0))
exit(1);
- peer->next = conf.peers;
- conf.peers = peer;
+ peer->next = ctx.peer_configs;
+ ctx.peer_configs = peer;
}