+2000-05-29 Perry Lorier <Isomer@coders.net>
+ * ircd/m_stats.c: add /stats v to do only the last part of the /trace
+ * ircd/IPcheck.c: Cosmetic change, if we meddle with it enough do
+ you think it'll get bored and fix itself?
+
2000-06-09 Greg Sikorski <gte@atomicrevs.demon.co.uk>
* ircd/m_names.c: Clean up compiler warnings.
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.146 2000-06-09 20:56:03 gte Exp $
+# $Id: ChangeLog,v 1.147 2000-06-13 03:01:21 isomer Exp $
#
# Insert new changes at beginning of the change list.
#
for (entry = hashTable[ip_registry_hash(ip)]; entry; entry = entry->next) {
if (entry->addr == ip)
- break;
+ return entry;
}
- return entry;
+ return NULL;
}
send_reply(sptr, RPL_STATSCONN, max_connection_count, max_client_count);
break;
}
+ case 'v':
+ {
+ struct ConfClass *cltmp;
+
+ for (cltmp = FirstClass(); cltmp; cltmp = NextClass(cltmp)) {
+ if (Links(cltmp) > 0)
+ send_reply(sptr,RPL_TRACECLASS, ConClass(cltmp), Links(cltmp));
+ }
+ break;
+ }
case 'W':
case 'w':
calc_load(sptr);
send_reply(sptr, RPL_STATSCONN, max_connection_count, max_client_count);
break;
}
+ case 'v':
+ {
+ struct ConfClass *cltmp;
+
+ for (cltmp = FirstClass(); cltmp; cltmp = NextClass(cltmp)) {
+ if (Links(cltmp) > 0)
+ send_reply(sptr,RPL_TRACECLASS, ConClass(cltmp), Links(cltmp));
+ }
+ break;
+ }
+
case 'W':
case 'w':
calc_load(sptr);
"m - Message usage information.",
"t - Local connection statistics (Total SND/RCV, etc).",
"w - Userload statistics.",
+ "v - Connection class information.",
"M - Memory allocation & leak monitoring.",
"z - Memory/Structure allocation information.",
"r - System resource usage (Debug only).",