artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
311538d
)
Since <netdb.h> soon won't include <sys/param.h>, MAXHOSTNAMELEN may
author
deraadt
<deraadt@openbsd.org>
Fri, 16 Jan 2015 00:27:00 +0000
(
00:27
+0000)
committer
deraadt
<deraadt@openbsd.org>
Fri, 16 Jan 2015 00:27:00 +0000
(
00:27
+0000)
not be in scope, so hardcode as 256. Other options have more downside.
include/protocols/timed.h
patch
|
blob
|
history
diff --git
a/include/protocols/timed.h
b/include/protocols/timed.h
index
0a3ecdb
..
12531d1
100644
(file)
--- 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 miller
t Exp $ */
+/* $OpenBSD: timed.h,v 1.
4 2015/01/16 00:27:00 deraad
t 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