summaryrefslogtreecommitdiff
path: root/src/swanctl/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/swanctl/command.c')
-rw-r--r--src/swanctl/command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/swanctl/command.c b/src/swanctl/command.c
index fd9bc0083..7f65d2b0e 100644
--- a/src/swanctl/command.c
+++ b/src/swanctl/command.c
@@ -315,6 +315,10 @@ int command_dispatch(int c, char *v[])
{
int op, i;
+ uri = lib->settings->get_str(lib->settings, "%s.socket",
+ lib->settings->get_str(lib->settings, "%s.plugins.vici.socket",
+ NULL, lib->ns), lib->ns);
+
options = options_create();
atexit(cleanup);
active = help_idx = registered;