From 5068a27e971ac7cbb5cf863130cf90fafb8145ae Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Tue, 25 Aug 2015 16:46:30 +0100 Subject: [PATCH] Fix stupid sock_dir bug I forgot to actually parse the sock_dir info from the config file. Do so. --- onak-conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/onak-conf.c b/onak-conf.c index 02ccf2d..763bdb2 100644 --- a/onak-conf.c +++ b/onak-conf.c @@ -201,6 +201,8 @@ void readconfig(const char *configfile) { } else if (!strncmp("use_keyd ", curline, 9)) { config.use_keyd = parsebool(&curline[9], config.use_keyd); + } else if (!strncmp("sock_dir ", curline, 9)) { + config.sock_dir = strdup(&curline[9]); } else if (!strncmp("check_sighash ", curline, 9)) { config.check_sighash = parsebool(&curline[9], config.check_sighash); -- 2.39.5