diff options
| author | dholland <dholland@NetBSD.org> | 2016-01-22 23:13:20 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2016-01-22 23:13:20 +0000 |
| commit | 5fb6c66c591b7b49ef2dfeffacb84ceefe5598c3 (patch) | |
| tree | 28becf79fa7443b37fa035dfa6ddfddc694eb40d /include | |
| parent | 49eaa4906c38193999f48ab54cdf83579904ff19 (diff) | |
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...)
Diffstat (limited to 'include')
| -rw-r--r-- | include/protocols/timed.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
