From: Michael Poole Date: Sat, 19 Nov 2005 23:59:22 +0000 (+0000) Subject: Display IPv6 support flag with the other per-server flags. X-Git-Url: http://git.pk910.de/?a=commitdiff_plain;h=e12827e0992eb0b39e8e4ad544640d1fd052c41d;p=ircu2.10.12-pk.git Display IPv6 support flag with the other per-server flags. git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/branches/u2_10_12_branch@1569 c9e4aea6-c8fd-4c43-8297-357d70d61c8c --- diff --git a/ChangeLog b/ChangeLog index fa5a2e4..f0b7e04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-11-19 Michael Poole + + * ircd/s_stats.c (stats_servers_verbose): Display IPv6 support + flag with the other per-server flags. + 2005-11-19 Michael Poole * ircd/convert-conf.c (finish_features): Only emit "Features {" diff --git a/ircd/s_stats.c b/ircd/s_stats.c index 2278114..c37630b 100644 --- a/ircd/s_stats.c +++ b/ircd/s_stats.c @@ -455,9 +455,9 @@ stats_servers_verbose(struct Client* sptr, const struct StatDesc* sd, "%-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 @@ stats_servers_verbose(struct Client* sptr, const struct StatDesc* sd, IsBurstAck(acptr) ? 'A' : '-', IsHub(acptr) ? 'H' : '-', IsService(acptr) ? 'S' : '-', + IsIPv6(acptr) ? '6' : '-', cli_hopcount(acptr), NumServ(acptr), base64toint(cli_yxx(acptr)),