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_208 "<newtype> 0 %s"
#define NUMERIC_STR_209 "Class %s %d" #define NUMERIC_STR_209 "Class %s %d"
#define NUMERIC_STR_212 "%s %u %lu :%u" #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_215 "I %s %s %s@%s %d %s"
#define NUMERIC_STR_216 "%c %s * %s :%s%s%s" #define NUMERIC_STR_216 "%c %s * %s :%s%s%s"
#define NUMERIC_STR_217 "%c %d %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), form_str(RPL_STATSCLINE),
"*@127.0.0.1", "*@127.0.0.1",
buf, server_p->name, buf, server_p->name,
server_p->port, server_p->class_name); server_p->port, server_p->class_name,
server_p->certfp ? server_p->certfp : "*");
} }
} }