diff options
author | Shawn Routhier <sar@isc.org> | 2011-06-01 23:30:53 +0000 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2011-06-01 23:30:53 +0000 |
commit | 0ce29921eedee661f22129176194c13f8d057c1b (patch) | |
tree | 0bd04052583f50568109fd42a77fc0bb9dff1eb8 /common | |
parent | b8e1fe59452533080851b4973e79d816c4fc05f0 (diff) | |
download | isc-dhcp-0ce29921eedee661f22129176194c13f8d057c1b.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')
-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; |