From 0ea6fd7293ece8520f4706cd7856b6c089b1e429 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. --- include/protocols/timed.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/protocols/timed.h b/include/protocols/timed.h index 0a3ecdb2d42..12531d17589 100644 --- a/include/protocols/timed.h +++ b/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 -- 2.20.1