From: Michal Rakowski Date: Tue, 3 Nov 2020 12:55:26 +0000 (+0100) Subject: Fix #6711 About wrong error message in case of authentication problem X-Git-Tag: Release-11.3.2~869 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44a834990975c7de8032968043ac5c394cecac5d;p=thirdparty%2Fbacula.git Fix #6711 About wrong error message in case of authentication problem --- diff --git a/bacula/src/lib/authenticatebase.cc b/bacula/src/lib/authenticatebase.cc index 7bd13200c..b7f9e45d3 100644 --- a/bacula/src/lib/authenticatebase.cc +++ b/bacula/src/lib/authenticatebase.cc @@ -264,7 +264,7 @@ const char *AuthenticateBase::GetRemoteClassShortName() const char *AuthenticateBase::GetRemoteClassLongName() { - return dc_long_name[local_class]; + return dc_long_name[remote_class]; }; int AuthenticateBase::GetTLSPSKLocalNeed()