summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/relayd.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-10-05 15:50:13 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-10-05 15:50:13 +0000
commit88dc73ac0e34bdafcb97aa7a0464fa7c341281d6 (patch)
tree1646ef0e410bfe010c4e1aa20d791bad437127fb /usr.sbin/relayd/relayd.h
parent475b0493648edd4c163df8655f9240a29e9cdef7 (diff)
using an enum in the imsg_hdr is gross, use a fixed u_int16_t instead
Diffstat (limited to 'usr.sbin/relayd/relayd.h')
-rw-r--r--usr.sbin/relayd/relayd.h4
1 files changed, 2 insertions, 2 deletions
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;