diff options
author | Shawn Routhier <sar@isc.org> | 2011-06-01 23:25:37 +0000 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2011-06-01 23:25:37 +0000 |
commit | 786f2e79ccf3632ee4277e072a93af78d3ce4867 (patch) | |
tree | 6ba6b3e54b69ea94b79fd684b209b98f4bb5a97b /common/print.c | |
parent | 199f0b8abb1180c93fb628039fad614d870ab0ef (diff) | |
download | isc-dhcp-786f2e79ccf3632ee4277e072a93af78d3ce4867.tar.gz |
Enlarge the buffer size used by the Omshell code and some of the
print routines to allow for greater than 60 characters or, when
printing as hex strings, 20 characters. [ISC-Bugs #22743]
Diffstat (limited to 'common/print.c')
-rw-r--r-- | common/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/print.c b/common/print.c index bb59ba3b..fb2ca0fb 100644 --- a/common/print.c +++ b/common/print.c @@ -435,7 +435,7 @@ void print_hex_or_string (len, data, limit, buf) * limit - length of buf * buf_num - the output buffer to use */ -#define HBLEN 60 +#define HBLEN 1024 char *print_hex(len, data, limit, buf_num) unsigned len; const u_int8_t *data; |