mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
rpc: virnetserver: Rename ClientSetProcessingControls to ClientSetLimits
The original naming was just a leftover that should have been fixed in commit
8b1f0469
.
Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
7d3b2eb58f
commit
2e5417bc46
@ -382,8 +382,8 @@ adminServerSetClientLimits(virNetServerPtr srv,
|
||||
VIR_SERVER_CLIENTS_UNAUTH_MAX)))
|
||||
maxClientsUnauth = param->value.ui;
|
||||
|
||||
if (virNetServerSetClientProcessingControls(srv, maxClients,
|
||||
maxClientsUnauth) < 0)
|
||||
if (virNetServerSetClientLimits(srv, maxClients,
|
||||
maxClientsUnauth) < 0)
|
||||
return -1;
|
||||
|
||||
return 0;
|
||||
|
@ -1046,9 +1046,9 @@ virNetServerGetClient(virNetServerPtr srv,
|
||||
}
|
||||
|
||||
int
|
||||
virNetServerSetClientProcessingControls(virNetServerPtr srv,
|
||||
long long int maxClients,
|
||||
long long int maxClientsUnauth)
|
||||
virNetServerSetClientLimits(virNetServerPtr srv,
|
||||
long long int maxClients,
|
||||
long long int maxClientsUnauth)
|
||||
{
|
||||
int ret = -1;
|
||||
size_t max, max_unauth;
|
||||
|
@ -116,8 +116,8 @@ size_t virNetServerGetCurrentClients(virNetServerPtr srv);
|
||||
size_t virNetServerGetMaxUnauthClients(virNetServerPtr srv);
|
||||
size_t virNetServerGetCurrentUnauthClients(virNetServerPtr srv);
|
||||
|
||||
int virNetServerSetClientProcessingControls(virNetServerPtr srv,
|
||||
long long int maxClients,
|
||||
long long int maxClientsUnauth);
|
||||
int virNetServerSetClientLimits(virNetServerPtr srv,
|
||||
long long int maxClients,
|
||||
long long int maxClientsUnauth);
|
||||
|
||||
#endif /* __VIR_NET_SERVER_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user