From 08a60265a27d6ec7cc11f95820e8160fafaf5c5d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 4 Mar 2013 17:16:23 +0100 Subject: 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. --- src/config.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.y') 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)) -- cgit v1.2.3