mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 21:17:52 +00:00
clear variables between gets for dump
This commit is contained in:
parent
81de6d2dfa
commit
05df378dce
3
one.cpp
3
one.cpp
@ -1121,6 +1121,9 @@ static int cli(int argc,char **argv)
|
||||
}
|
||||
dump << responseBody << ZT_EOL_S;
|
||||
|
||||
responseHeaders.clear();
|
||||
responseBody = "";
|
||||
|
||||
// get bonds
|
||||
dump << ZT_EOL_S << "bonds" << ZT_EOL_S << "-----" << ZT_EOL_S;
|
||||
scode = Http::GET(1024 * 1024 * 16,60000,(const struct sockaddr *)&addr,"/bonds",requestHeaders,responseHeaders,responseBody);
|
||||
|
Loading…
Reference in New Issue
Block a user