summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-11-26 22:18:11 +0000
committerkris <kris@FreeBSD.org>2000-11-26 22:18:11 +0000
commitd20a282a16d249ae12abb1aaa63d44bf07f39bca (patch)
treeaee8a177a53a3eb3a3765a87375642e6537d325e /libexec
parent17aeda14527161d120db3626b2388ba2b8079484 (diff)
downloadFreeBSD-src-d20a282a16d249ae12abb1aaa63d44bf07f39bca.zip
FreeBSD-src-d20a282a16d249ae12abb1aaa63d44bf07f39bca.tar.gz
Correct definition of MAXHOSTNAMELEN in ifdef'ed out code.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rbootd/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/rbootd/defs.h b/libexec/rbootd/defs.h
index 6edde9b..f62c83f 100644
--- a/libexec/rbootd/defs.h
+++ b/libexec/rbootd/defs.h
@@ -42,6 +42,8 @@
*
* From: Utah Hdr: defs.h 3.1 92/07/06
* Author: Jeff Forys, University of Utah CSS
+ *
+ * $FreeBSD$
*/
#include "rmp.h"
@@ -56,7 +58,7 @@
* This may be defined in <sys/param.h>, if not, it's defined here.
*/
#ifndef MAXHOSTNAMELEN
-#define MAXHOSTNAMELEN 64
+#define MAXHOSTNAMELEN 256
#endif
/*
OpenPOWER on IntegriCloud