From 5b4d0b0e240bb5279d2f3d7f18943100fd5ca950 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 16 Jan 2015 00:27:00 +0000 Subject: [PATCH] Since soon won't include , MAXHOSTNAMELEN may not be in scope, so hardcode as 256. Other options have more downside. --- src/include/protocols/timed.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/protocols/timed.h b/src/include/protocols/timed.h index 0a3ecdb2..12531d17 100644 --- a/src/include/protocols/timed.h +++ b/src/include/protocols/timed.h @@ -1,4 +1,4 @@ -/* $OpenBSD: timed.h,v 1.3 2003/06/02 19:34:12 millert Exp $ */ +/* $OpenBSD: timed.h,v 1.4 2015/01/16 00:27:00 deraadt Exp $ */ /* $NetBSD: timed.h,v 1.5 1996/04/09 20:40:32 cgd Exp $ */ /* @@ -53,7 +53,7 @@ struct tsp { } tspu_time; char tspu_hopcnt; } tsp_u; - char tsp_name[MAXHOSTNAMELEN]; + char tsp_name[256]; }; #define tsp_time tsp_u.tspu_time