|
|
735c6b |
From f26e30ecb3d0e25d5cf648755e2b4e1db0476b52 Mon Sep 17 00:00:00 2001
|
|
|
735c6b |
Message-Id: <f26e30ecb3d0e25d5cf648755e2b4e1db0476b52@dist-git>
|
|
|
735c6b |
From: Martin Kletzander <mkletzan@redhat.com>
|
|
|
735c6b |
Date: Tue, 24 Jan 2023 13:45:09 +0100
|
|
|
735c6b |
Subject: [PATCH] rpc: Fix error message in virNetServerSetClientLimits
|
|
|
735c6b |
MIME-Version: 1.0
|
|
|
735c6b |
Content-Type: text/plain; charset=UTF-8
|
|
|
735c6b |
Content-Transfer-Encoding: 8bit
|
|
|
735c6b |
|
|
|
735c6b |
Commit f007940cb25a tried to change the error message so that it is unified
|
|
|
735c6b |
later in 35afa1d2d6c1, but various rewrites missed this particular error message
|
|
|
735c6b |
which does not make sense. Fix it so that it is the same as the other two
|
|
|
735c6b |
messages checking the same thing in this file.
|
|
|
735c6b |
|
|
|
735c6b |
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2033879
|
|
|
735c6b |
|
|
|
735c6b |
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
|
|
|
735c6b |
Reviewed-by: Ján Tomko <jtomko@redhat.com>
|
|
|
735c6b |
(cherry picked from commit 1e2605c934b80c3e9c30e929834d38fee86f184e)
|
|
|
735c6b |
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
|
|
|
735c6b |
---
|
|
|
735c6b |
src/rpc/virnetserver.c | 5 ++---
|
|
|
735c6b |
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
735c6b |
|
|
|
735c6b |
diff --git a/src/rpc/virnetserver.c b/src/rpc/virnetserver.c
|
|
|
735c6b |
index bf0fda04ee..e97dfe8136 100644
|
|
|
735c6b |
--- a/src/rpc/virnetserver.c
|
|
|
735c6b |
+++ b/src/rpc/virnetserver.c
|
|
|
735c6b |
@@ -1127,9 +1127,8 @@ virNetServerSetClientLimits(virNetServer *srv,
|
|
|
735c6b |
|
|
|
735c6b |
if (max < max_unauth) {
|
|
|
735c6b |
virReportError(VIR_ERR_INVALID_ARG, "%s",
|
|
|
735c6b |
- _("The overall maximum number of clients waiting "
|
|
|
735c6b |
- "for authentication must not be less than the overall "
|
|
|
735c6b |
- "maximum number of clients"));
|
|
|
735c6b |
+ _("The overall maximum number of clients must not be less "
|
|
|
735c6b |
+ "than the number of clients waiting for authentication"));
|
|
|
735c6b |
return -1;
|
|
|
735c6b |
}
|
|
|
735c6b |
|
|
|
735c6b |
--
|
|
|
735c6b |
2.39.1
|
|
|
735c6b |
|