0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-02 21:59:02 +02:00

m_stats: display certificate fingerprint in STATS C

This commit is contained in:
Simon Arlott 2016-04-24 00:29:11 +01:00
parent 00039dcddd
commit 3085734104
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24
2 changed files with 3 additions and 2 deletions

View file

@ -48,7 +48,7 @@
#define NUMERIC_STR_208 "<newtype> 0 %s"
#define NUMERIC_STR_209 "Class %s %d"
#define NUMERIC_STR_212 "%s %u %lu :%u"
#define NUMERIC_STR_213 "C %s %s %s %d %s"
#define NUMERIC_STR_213 "C %s %s %s %d %s %s"
#define NUMERIC_STR_215 "I %s %s %s@%s %d %s"
#define NUMERIC_STR_216 "%c %s * %s :%s%s%s"
#define NUMERIC_STR_217 "%c %d %s :%s"

View file

@ -358,7 +358,8 @@ stats_connect(struct Client *source_p)
form_str(RPL_STATSCLINE),
"*@127.0.0.1",
buf, server_p->name,
server_p->port, server_p->class_name);
server_p->port, server_p->class_name,
server_p->certfp ? server_p->certfp : "*");
}
}