From 5fb6c66c591b7b49ef2dfeffacb84ceefe5598c3 Mon Sep 17 00:00:00 2001 From: dholland Date: Fri, 22 Jan 2016 23:13:20 +0000 Subject: Erm, fix previous. (also, as this protocol is externally defined it probably should use its own constant and not either of these system-defined hostname lengths...) --- include/protocols/timed.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/protocols/timed.h b/include/protocols/timed.h index ae2cf504ab2..e34471e4170 100644 --- a/include/protocols/timed.h +++ b/include/protocols/timed.h @@ -1,4 +1,4 @@ -/* $NetBSD: timed.h,v 1.12 2016/01/22 23:11:50 dholland Exp $ */ +/* $NetBSD: timed.h,v 1.13 2016/01/22 23:13:20 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -55,7 +55,7 @@ struct tsp { } tspu_time; char tspu_hopcnt; } tsp_u; - char tsp_name[_POSIX_HOST_NAME_MAX]; + char tsp_name[_POSIX_HOST_NAME_MAX+1]; }; #define tsp_time tsp_u.tspu_time -- cgit