@@ -1657,19 +1657,18 @@ void Server::handleCommand_SrpBytesM(NetworkPacket* pkt)
1657
1657
1658
1658
bool wantSudo = (cstate == CS_Active);
1659
1659
1660
- verbosestream << " Server: Received TOCLIENT_SRP_BYTES_M ." << std::endl;
1660
+ verbosestream << " Server: Received TOSERVER_SRP_BYTES_M ." << std::endl;
1661
1661
1662
1662
if (!((cstate == CS_HelloSent) || (cstate == CS_Active))) {
1663
- actionstream << " Server: got SRP _M packet in wrong state "
1664
- << cstate << " from " << addr_s
1665
- << " . Ignoring." << std::endl;
1663
+ warningstream << " Server: got SRP_M packet in wrong state "
1664
+ << cstate << " from " << addr_s << " . Ignoring." << std::endl;
1666
1665
return ;
1667
1666
}
1668
1667
1669
1668
if (client->chosen_mech != AUTH_MECHANISM_SRP &&
1670
1669
client->chosen_mech != AUTH_MECHANISM_LEGACY_PASSWORD) {
1671
- actionstream << " Server: got SRP _M packet, while auth"
1672
- << " is going on with mech " << client->chosen_mech << " from "
1670
+ warningstream << " Server: got SRP_M packet, while auth "
1671
+ " is going on with mech " << client->chosen_mech << " from "
1673
1672
<< addr_s << " (wantSudo=" << wantSudo << " ). Denying." << std::endl;
1674
1673
if (wantSudo) {
1675
1674
DenySudoAccess (peer_id);
@@ -1717,7 +1716,7 @@ void Server::handleCommand_SrpBytesM(NetworkPacket* pkt)
1717
1716
1718
1717
std::string checkpwd; // not used, but needed for passing something
1719
1718
if (!m_script->getAuth (playername, &checkpwd, NULL )) {
1720
- actionstream << " Server: " << playername <<
1719
+ errorstream << " Server: " << playername <<
1721
1720
" cannot be authenticated (auth handler does not work?)" <<
1722
1721
std::endl;
1723
1722
DenyAccess (peer_id, SERVER_ACCESSDENIED_SERVER_FAIL);
0 commit comments