Skip to content

Commit

Permalink
Add TLS marker to campaignd's log output
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed May 6, 2021
1 parent a0dd401 commit d89fc73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/campaignd/server.cpp
Expand Up @@ -472,7 +472,7 @@ void server::load_config()

std::ostream& operator<<(std::ostream& o, const server::request& r)
{
o << '[' << r.addr << ' ' << r.cmd << "] ";
o << (utils::get_if<tls_socket_ptr>(&r.sock) ? "TLS" : "") << '[' << r.addr << ' ' << r.cmd << "] ";
return o;
}

Expand Down

0 comments on commit d89fc73

Please sign in to comment.