Module Name: src
Committed By: dholland
Date: Fri Jan 22 23:13:20 UTC 2016
Modified Files:
src/include/protocols: timed.h
Log Message:
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...)
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/include/protocols/timed.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/protocols/timed.h
diff -u src/include/protocols/timed.h:1.12 src/include/protocols/timed.h:1.13
--- src/include/protocols/timed.h:1.12 Fri Jan 22 23:11:50 2016
+++ src/include/protocols/timed.h Fri Jan 22 23:13:20 2016
@@ -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