summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststated/hoststated.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-01-09 03:32:57 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-01-09 03:32:57 +0000
commitcd8506253e59a8ce53fa253524f81cc8dc6b792d (patch)
treec2b432fdd554410badafccca8a20d506a6e773e8 /usr.sbin/hoststated/hoststated.h
parent8705be850471d6a8551be4548fb6a48ddcba04f2 (diff)
use the correct buffer sizes.
(this code needs some more work to implement a better icmp handling, but this will fix a serious bug for now)
Diffstat (limited to 'usr.sbin/hoststated/hoststated.h')
-rw-r--r--usr.sbin/hoststated/hoststated.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/hoststated/hoststated.h b/usr.sbin/hoststated/hoststated.h
index ada7240601c..8f1137e6be1 100644
--- a/usr.sbin/hoststated/hoststated.h
+++ b/usr.sbin/hoststated/hoststated.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hoststated.h,v 1.11 2007/01/08 20:46:18 reyk Exp $ */
+/* $OpenBSD: hoststated.h,v 1.12 2007/01/09 03:32:56 reyk Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -34,6 +34,7 @@
#define SMALL_READ_BUF_SIZE 1024
#define READ_BUF_SIZE 65535
+#define ICMP_BUF_SIZE 64
/* buffer */
struct buf {