diff options
author | Shawn Routhier <sar@isc.org> | 2011-06-01 23:38:06 +0000 |
---|---|---|
committer | Shawn Routhier <sar@isc.org> | 2011-06-01 23:38:06 +0000 |
commit | bc3b86ba39ff76214646274df40aaf03e4204a36 (patch) | |
tree | 1243154b343d1fba23700c2535c1817a9e072927 /dhcpctl | |
parent | 1c29755cc177827b1e3ad1ba93a3db414eec4c0b (diff) | |
download | isc-dhcp-bc3b86ba39ff76214646274df40aaf03e4204a36.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 'dhcpctl')
-rw-r--r-- | dhcpctl/omshell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpctl/omshell.c b/dhcpctl/omshell.c index 2c9d5cd6..dec51796 100644 --- a/dhcpctl/omshell.c +++ b/dhcpctl/omshell.c @@ -3,7 +3,7 @@ Examine and modify omapi objects. */ /* - * Copyright (c) 2009-2010 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 2009-2011 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2004-2007 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 2001-2003 by Internet Software Consortium * @@ -99,7 +99,7 @@ main(int argc, char **argv) { char buf[1024]; char s1[1024]; int connected = 0; - char hex_buf[61]; + char hex_buf[1025]; for (i = 1; i < argc; i++) { usage(argv[0]); |