diff options
author | archie <archie@FreeBSD.org> | 2000-08-10 22:50:38 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-08-10 22:50:38 +0000 |
commit | dab4141f836babbe28e6a877f26b5cd2bcfe49de (patch) | |
tree | 36ec65123164c86801054bd755b1a47248d3fc17 | |
parent | 4f3c325b7d3600042154ffe8c58a9eb106cec4d9 (diff) | |
download | FreeBSD-src-dab4141f836babbe28e6a877f26b5cd2bcfe49de.zip FreeBSD-src-dab4141f836babbe28e6a877f26b5cd2bcfe49de.tar.gz |
Use a bigger buffer for NGM_BINARY2ASCII conversion, to handle really
long ASCII control messages.
-rw-r--r-- | sys/netgraph/ng_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c index 168e5d3..d4ff114 100644 --- a/sys/netgraph/ng_base.c +++ b/sys/netgraph/ng_base.c @@ -1453,7 +1453,7 @@ ng_generic_msg(node_p here, struct ng_mesg *msg, const char *retaddr, case NGM_BINARY2ASCII: { - int bufSize = 2000; /* XXX hard coded constant */ + int bufSize = 20 * 1024; /* XXX hard coded constant */ const struct ng_parse_type *argstype; const struct ng_cmdlist *c; struct ng_mesg *rp, *binary, *ascii; |