summaryrefslogtreecommitdiffstats
path: root/src/options.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-08-04 03:36:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-08-09 06:16:14 +0200
commit7879164915659c16b96b4bb5c4a6dca13b793f37 (patch)
treec2d1606c95fb97f68f97555f112e200d2b93b2f3 /src/options.c
parente0f99a4199ade6ca2d2325d1d38a45e4ce403fa1 (diff)
downloadfastd-7879164915659c16b96b4bb5c4a6dca13b793f37.tar
fastd-7879164915659c16b96b4bb5c4a6dca13b793f37.zip
Move fastd_config_t.peers to fastd_context_t.peer_configs
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;
}