summaryrefslogtreecommitdiff
path: root/common/print.c
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2011-06-01 23:25:37 +0000
committerShawn Routhier <sar@isc.org>2011-06-01 23:25:37 +0000
commit786f2e79ccf3632ee4277e072a93af78d3ce4867 (patch)
tree6ba6b3e54b69ea94b79fd684b209b98f4bb5a97b /common/print.c
parent199f0b8abb1180c93fb628039fad614d870ab0ef (diff)
downloadisc-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.c2
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;