summaryrefslogtreecommitdiffstats
path: root/src/config.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.y')
-rw-r--r--src/config.y2
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))