Committer : entrope
CVSROOT : /cvsroot/undernet-ircu
Module : ircu2.10
Commit time: 2005-11-19 23:59:32 UTC
Modified files:
ChangeLog ircd/s_stats.c
Log message:
Display IPv6 support flag with the other per-server flags.
---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.748 ircu2.10/ChangeLog:1.749
--- ircu2.10/ChangeLog:1.748 Sat Nov 19 15:55:14 2005
+++ ircu2.10/ChangeLog Sat Nov 19 15:59:21 2005
@@ -1,5 +1,10 @@
2005-11-19 Michael Poole <[EMAIL PROTECTED]>
+ * ircd/s_stats.c (stats_servers_verbose): Display IPv6 support
+ flag with the other per-server flags.
+
+2005-11-19 Michael Poole <[EMAIL PROTECTED]>
+
* ircd/convert-conf.c (finish_features): Only emit "Features {"
once in the converted configuration file. Display the original
input line for each feature line in the output.
Index: ircu2.10/ircd/s_stats.c
diff -u ircu2.10/ircd/s_stats.c:1.45 ircu2.10/ircd/s_stats.c:1.46
--- ircu2.10/ircd/s_stats.c:1.45 Tue Oct 11 13:32:24 2005
+++ ircu2.10/ircd/s_stats.c Sat Nov 19 15:59:22 2005
@@ -62,7 +62,7 @@
/** @file
* @brief Report configuration lines and other statistics from this
* server.
- * @version $Id: s_stats.c,v 1.45 2005/10/11 20:32:24 isomer Exp $
+ * @version $Id: s_stats.c,v 1.46 2005/11/19 23:59:22 entrope Exp $
*
* Note: The info is reported in the order the server uses
* it--not reversed as in ircd.conf!
@@ -455,9 +455,9 @@
"%-20s %-20s Flags Hops Numeric Lag RTT Up Down "
"Clients/Max Proto %-10s :Info", "Servername", "Uplink",
"LinkTS");
- fmt = "%-20s %-20s %c%c%c%c %4i %s %-4i %5i %4i %4i %4i %5i %5i P%-2i
%Tu :%s";
+ fmt = "%-20s %-20s %c%c%c%c%c %4i %s %-4i %5i %4i %4i %4i %5i %5i P%-2i
%Tu :%s";
} else {
- fmt = "%s %s %c%c%c%c %i %s %i %i %i %i %i %i %i P%i %Tu :%s";
+ fmt = "%s %s %c%c%c%c%c %i %s %i %i %i %i %i %i %i P%i %Tu :%s";
}
for (acptr = GlobalClientList; acptr; acptr = cli_next(acptr))
@@ -474,6 +474,7 @@
IsBurstAck(acptr) ? 'A' : '-',
IsHub(acptr) ? 'H' : '-',
IsService(acptr) ? 'S' : '-',
+ IsIPv6(acptr) ? '6' : '-',
cli_hopcount(acptr),
NumServ(acptr),
base64toint(cli_yxx(acptr)),
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
[email protected]
http://undernet.sbg.org/mailman/listinfo/patches