summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2019-11-06 16:26:33 +0000
committerflorian <florian@openbsd.org>2019-11-06 16:26:33 +0000
commit49df38229fa88a490ac86ed4ad8346911f515a8e (patch)
treed94adb3fdf721b7c6c4e2c17d890bfd7a3c3737a
parentwe have emergency entropy injection code in rc, for if the bootblocks and (diff)
downloadwireguard-openbsd-49df38229fa88a490ac86ed4ad8346911f515a8e.tar.xz
wireguard-openbsd-49df38229fa88a490ac86ed4ad8346911f515a8e.zip
Move control socket to /dev like slaacd(8) is doing to be able to
start unwind earlier, before /var is mounted. discussed with deraadt
-rw-r--r--sbin/unwind/unwind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/unwind/unwind.h b/sbin/unwind/unwind.h
index e5bf373c57b..f5623a6bff7 100644
--- a/sbin/unwind/unwind.h
+++ b/sbin/unwind/unwind.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unwind.h,v 1.22 2019/11/06 14:19:59 florian Exp $ */
+/* $OpenBSD: unwind.h,v 1.23 2019/11/06 16:26:33 florian Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
@@ -28,7 +28,7 @@
#endif
#define CONF_FILE "/etc/unwind.conf"
-#define UNWIND_SOCKET "/var/run/unwind.sock"
+#define UNWIND_SOCKET "/dev/unwind.sock"
#define UNWIND_USER "_unwind"
#define OPT_VERBOSE 0x00000001