summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2015-12-08 23:47:59 +0000
committerjsg <jsg@openbsd.org>2015-12-08 23:47:59 +0000
commit8269e30d8ed18813e34c077572853a279919af71 (patch)
treeccc7519b4b83596ec262778da4ecfb6b72e036a0
parentImplements simple virtual device probing routine (diff)
downloadwireguard-openbsd-8269e30d8ed18813e34c077572853a279919af71.tar.xz
wireguard-openbsd-8269e30d8ed18813e34c077572853a279919af71.zip
make the -f option work as intended
ok reyk@
-rw-r--r--usr.sbin/vmd/vmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmd/vmd.c b/usr.sbin/vmd/vmd.c
index ce901d447e3..d6a4cef50bc 100644
--- a/usr.sbin/vmd/vmd.c
+++ b/usr.sbin/vmd/vmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmd.c,v 1.22 2015/12/07 12:52:00 reyk Exp $ */
+/* $OpenBSD: vmd.c,v 1.23 2015/12/08 23:47:59 jsg Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -321,7 +321,7 @@ main(int argc, char **argv)
fatal("%s", VMM_NODE);
/* Configuration will be parsed after forking the children */
- env->vmd_conffile = VMD_CONF;
+ env->vmd_conffile = conffile;
log_init(env->vmd_debug, LOG_DAEMON);
log_verbose(env->vmd_verbose);