diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-04 17:16:23 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-04 17:24:43 +0100 |
commit | 08a60265a27d6ec7cc11f95820e8160fafaf5c5d (patch) | |
tree | b670e173b09f12327ec461cab22a8addb9cf9e24 /src/config.y | |
parent | 195be08c47edeaf28bf7c2371ccb4178bbeaae83 (diff) | |
download | fastd-08a60265a27d6ec7cc11f95820e8160fafaf5c5d.tar fastd-08a60265a27d6ec7cc11f95820e8160fafaf5c5d.zip |
Load peer dirs in the last step of the configuration
Loading the peer dirs directly led to peers being discovered in a different
order after reconfigure.
Diffstat (limited to 'src/config.y')
-rw-r--r-- | src/config.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.y b/src/config.y index 8db6efe..0fec8d7 100644 --- a/src/config.y +++ b/src/config.y @@ -450,7 +450,7 @@ include: TOK_PEER TOK_STRING maybe_as { YYERROR; } | TOK_PEERS TOK_FROM TOK_STRING { - fastd_read_peer_dir(ctx, conf, $3->str); + fastd_add_peer_dir(ctx, conf, $3->str); } | TOK_STRING { if (!fastd_read_config(ctx, conf, $1->str, false, depth)) |