diff options
author | 2015-01-16 00:27:00 +0000 | |
---|---|---|
committer | 2015-01-16 00:27:00 +0000 | |
commit | 0ea6fd7293ece8520f4706cd7856b6c089b1e429 (patch) | |
tree | 230020ec87855d8a422df0da3014355450eedb88 /include/protocols | |
parent | move to PATH_MAX, etc; normalize includes for life in the <limits.h> universe (diff) | |
download | wireguard-openbsd-0ea6fd7293ece8520f4706cd7856b6c089b1e429.tar.xz wireguard-openbsd-0ea6fd7293ece8520f4706cd7856b6c089b1e429.zip |
Since <netdb.h> soon won't include <sys/param.h>, MAXHOSTNAMELEN may
not be in scope, so hardcode as 256. Other options have more downside.
Diffstat (limited to 'include/protocols')
-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 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 |