From c1856e5ee12fa2d847bda17b45388c99a536f458 Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Mon, 7 Apr 2014 18:25:19 +0200 Subject: [PATCH] Disabling calls to read_config_options. Makes no sense in libmeshlink reading command line arguments and of course we go to a segmentation fault --- src/conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conf.c b/src/conf.c index e0d8e922..95c07477 100644 --- a/src/conf.c +++ b/src/conf.c @@ -371,7 +371,7 @@ bool read_server_config(void) { char *fname; bool x; - read_config_options(config_tree, NULL); + //read_config_options(config_tree, NULL); xasprintf(&fname, "%s" SLASH "tinc.conf", confbase); errno = 0; @@ -412,7 +412,7 @@ bool read_host_config(splay_tree_t *config_tree, const char *name) { char *fname; bool x; - read_config_options(config_tree, name); + //read_config_options(config_tree, name); xasprintf(&fname, "%s" SLASH "hosts" SLASH "%s", confbase, name); x = read_config_file(config_tree, fname); -- 2.39.5