/[svn]/ircd-hybrid/trunk/modules/m_stats.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/modules/m_stats.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8922 by michael, Mon Apr 22 09:52:53 2019 UTC revision 8923 by michael, Mon Apr 22 10:09:22 2019 UTC
# Line 1089  stats_servlinks(struct Client *source_p, Line 1089  stats_servlinks(struct Client *source_p,
1089      sendB += target_p->connection->send.bytes;      sendB += target_p->connection->send.bytes;
1090      recvB += target_p->connection->recv.bytes;      recvB += target_p->connection->recv.bytes;
1091    
1092      /* ":%s 211 %s %s %u %u %ju %u %ju :%u %u %s" */      /* ":%s 211 %s %s %u %u %ju %u %ju :%ju %ju %s" */
1093      sendto_one_numeric(source_p, &me, RPL_STATSLINKINFO,      sendto_one_numeric(source_p, &me, RPL_STATSLINKINFO,
1094                 client_get_name(target_p, HasUMode(source_p, UMODE_ADMIN) ? SHOW_IP : MASK_IP),                 client_get_name(target_p, HasUMode(source_p, UMODE_ADMIN) ? SHOW_IP : MASK_IP),
1095                 dbuf_length(&target_p->connection->buf_sendq),                 dbuf_length(&target_p->connection->buf_sendq),
# Line 1097  stats_servlinks(struct Client *source_p, Line 1097  stats_servlinks(struct Client *source_p,
1097                 target_p->connection->send.bytes >> 10,                 target_p->connection->send.bytes >> 10,
1098                 target_p->connection->recv.messages,                 target_p->connection->recv.messages,
1099                 target_p->connection->recv.bytes >> 10,                 target_p->connection->recv.bytes >> 10,
1100                 (unsigned int)(event_base->time.sec_monotonic - target_p->connection->created_monotonic),                 (event_base->time.sec_monotonic - target_p->connection->created_monotonic),
1101                 (unsigned int)(event_base->time.sec_monotonic - target_p->connection->last_data),                 (event_base->time.sec_monotonic - target_p->connection->last_data),
1102                 HasUMode(source_p, UMODE_OPER) ? capab_get(target_p) : "TS");                 HasUMode(source_p, UMODE_OPER) ? capab_get(target_p) : "TS");
1103    }    }
1104    
# Line 1196  stats_L_list(struct Client *source_p, co Line 1196  stats_L_list(struct Client *source_p, co
1196                         target_p->connection->send.bytes >> 10,                         target_p->connection->send.bytes >> 10,
1197                         target_p->connection->recv.messages,                         target_p->connection->recv.messages,
1198                         target_p->connection->recv.bytes >> 10,                         target_p->connection->recv.bytes >> 10,
1199                         (unsigned int)(event_base->time.sec_monotonic - target_p->connection->created_monotonic),                         (event_base->time.sec_monotonic - target_p->connection->created_monotonic),
1200                         (unsigned int)(event_base->time.sec_monotonic - target_p->connection->last_data),                         (event_base->time.sec_monotonic - target_p->connection->last_data),
1201                         IsServer(target_p) ? capab_get(target_p) : "-");                         IsServer(target_p) ? capab_get(target_p) : "-");
1202    }    }
1203  }  }

Legend:
Removed from v.8922  
changed lines
  Added in v.8923

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28