summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2007-10-05 15:50:12 +0000
committerreyk <reyk@openbsd.org>2007-10-05 15:50:12 +0000
commitc4800d3b9a87686eb111ac0a3cd716f40756615b (patch)
treecb56268e32e0755cc997515191cf2909cce5836e
parentunbreak non-SSL relays by calling the ssl context init only if the SSL (diff)
downloadwireguard-openbsd-c4800d3b9a87686eb111ac0a3cd716f40756615b.tar.xz
wireguard-openbsd-c4800d3b9a87686eb111ac0a3cd716f40756615b.zip
using an enum in the imsg_hdr is gross, use a fixed u_int16_t instead
-rw-r--r--usr.sbin/hoststated/hoststated.h4
-rw-r--r--usr.sbin/relayd/relayd.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/hoststated/hoststated.h b/usr.sbin/hoststated/hoststated.h
index b1b6f8ced76..7badae8f4c8 100644
--- a/usr.sbin/hoststated/hoststated.h
+++ b/usr.sbin/hoststated/hoststated.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hoststated.h,v 1.65 2007/10/02 21:04:13 pyr Exp $ */
+/* $OpenBSD: hoststated.h,v 1.66 2007/10/05 15:50:12 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -148,7 +148,7 @@ enum imsg_type {
};
struct imsg_hdr {
- enum imsg_type type;
+ u_int16_t type;
u_int16_t len;
u_int32_t peerid;
pid_t pid;
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
index 603014b6838..10d12fb907e 100644
--- a/usr.sbin/relayd/relayd.h
+++ b/usr.sbin/relayd/relayd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.h,v 1.65 2007/10/02 21:04:13 pyr Exp $ */
+/* $OpenBSD: relayd.h,v 1.66 2007/10/05 15:50:12 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -148,7 +148,7 @@ enum imsg_type {
};
struct imsg_hdr {
- enum imsg_type type;
+ u_int16_t type;
u_int16_t len;
u_int32_t peerid;
pid_t pid;