diff options
author | 2001-11-07 18:49:10 +0000 | |
---|---|---|
committer | 2001-11-07 18:49:10 +0000 | |
commit | 8a1e75b266e425fff6d3a40a0943697231edfe3b (patch) | |
tree | 99cc7771606b2b9a55f83097d90e1d6c78fda225 | |
parent | assume buffer is BUFSIZ long, and handle it so; millert ok (diff) | |
download | wireguard-openbsd-8a1e75b266e425fff6d3a40a0943697231edfe3b.tar.xz wireguard-openbsd-8a1e75b266e425fff6d3a40a0943697231edfe3b.zip |
crank strings to 256 so they can hold a full hostname
-rw-r--r-- | lib/libwrap/shlib_version | 4 | ||||
-rw-r--r-- | lib/libwrap/tcpd.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libwrap/shlib_version b/lib/libwrap/shlib_version index c8860078e50..b52599a164f 100644 --- a/lib/libwrap/shlib_version +++ b/lib/libwrap/shlib_version @@ -1,2 +1,2 @@ -major=1 -minor=2 +major=2 +minor=0 diff --git a/lib/libwrap/tcpd.h b/lib/libwrap/tcpd.h index 2e950e51a5c..f110c759011 100644 --- a/lib/libwrap/tcpd.h +++ b/lib/libwrap/tcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tcpd.h,v 1.10 2001/03/28 22:06:29 deraadt Exp $ */ +/* $OpenBSD: tcpd.h,v 1.11 2001/11/07 18:49:10 deraadt Exp $ */ /* * Copyright (c) 1997, Jason Downs. All rights reserved. @@ -44,7 +44,7 @@ /* Structure to describe one communications endpoint. */ -#define STRING_LENGTH 128 /* hosts, users, processes */ +#define STRING_LENGTH 256 /* hosts, users, processes */ struct host_info { char name[STRING_LENGTH]; /* access via eval_hostname(host) */ |