summaryrefslogtreecommitdiff
path: root/service/ControlPlane.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-05 15:47:22 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-09-05 15:47:22 -0700
commitd7f2287ce960b3a4917699e7c9c98ac26bfb8ca7 (patch)
tree732c5730cba763be298e58b61083a4e2f5201656 /service/ControlPlane.cpp
parenteebcf08084097fc7cd8703a11686e66157fa8efa (diff)
downloadinfinitytier-d7f2287ce960b3a4917699e7c9c98ac26bfb8ca7.tar.gz
infinitytier-d7f2287ce960b3a4917699e7c9c98ac26bfb8ca7.zip
More tweaks to path behavior.
Diffstat (limited to 'service/ControlPlane.cpp')
-rw-r--r--service/ControlPlane.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/ControlPlane.cpp b/service/ControlPlane.cpp
index 03c5942d..a24e3eb4 100644
--- a/service/ControlPlane.cpp
+++ b/service/ControlPlane.cpp
@@ -165,7 +165,7 @@ static void _jsonAppend(unsigned int depth,std::string &buf,const ZT_VirtualNetw
static std::string _jsonEnumerate(unsigned int depth,const ZT_PeerPhysicalPath *pp,unsigned int count)
{
- char json[1024];
+ char json[2048];
char prefix[32];
if (depth >= sizeof(prefix)) // sanity check -- shouldn't be possible
@@ -201,7 +201,7 @@ static std::string _jsonEnumerate(unsigned int depth,const ZT_PeerPhysicalPath *
static void _jsonAppend(unsigned int depth,std::string &buf,const ZT_Peer *peer)
{
- char json[1024];
+ char json[2048];
char prefix[32];
if (depth >= sizeof(prefix)) // sanity check -- shouldn't be possible