summaryrefslogtreecommitdiffstats
path: root/sources/ogAdmServer.cpp
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2019-08-28 11:48:47 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-08-28 11:50:11 +0200
commitba2e868019bff2caa472bc7c02fcc6ed4bf9168d (patch)
treea56e13bbc3b3a625a16f7932b34058c220c9424d /sources/ogAdmServer.cpp
parent7dc8fdbaff2056b8d6220eac21144cd647cd43c4 (diff)
#915 allow up to 4096 clients from REST API
Raise maximum number of clients to 4096.
Diffstat (limited to 'sources/ogAdmServer.cpp')
-rw-r--r--sources/ogAdmServer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp
index 7dea80a..b65591d 100644
--- a/sources/ogAdmServer.cpp
+++ b/sources/ogAdmServer.cpp
@@ -3350,8 +3350,8 @@ static int og_client_state_process_payload(struct og_client *cli)
}
struct og_msg_params {
- const char *ips_array[64];
- const char *mac_array[64];
+ const char *ips_array[4096];
+ const char *mac_array[4096];
unsigned int ips_array_len;
const char *wol_type;
char run_cmd[4096];