MT#55283 fix nopacket_relayed_sess stats

This is a regression from the overhaul of the stats bookkeeping code.

Change-Id: I9b7c2084fb20407e5a2a24fdf802b8fd6831dc75
(cherry picked from commit 9a3ced05ff)
mr10.5.3
Richard Fuchs 3 years ago
parent dc9927cfee
commit ff3df5f65c

@ -154,7 +154,7 @@ void statistics_update_oneway(struct call* c) {
}
if (IS_OWN_CALL(c))
RTPE_STATS_INC(nopacket_relayed_sess);
RTPE_STATS_ADD(nopacket_relayed_sess, total_nopacket_relayed_sess / 2);
if (c->monologues.head) {
ml = c->monologues.head->data;

@ -5677,7 +5677,7 @@ int main(void) {
"current_sessions_ipv4 0 200\n"
"current_sessions_ipv6 0 200\n"
"current_sessions_mixed 0 200\n"
"nopacket_relayed_sess 2 200\n"
"nopacket_relayed_sess 0 200\n"
"oneway_stream_sess 0 200\n"
"regular_term_sess 0 200\n"
"relayed_errors_user 0 200\n"
@ -5865,8 +5865,8 @@ int main(void) {
"0\n"
"Total number of streams with no relayed packets\n"
"zerowaystreams\n"
"2\n"
"2\n"
"0\n"
"0\n"
"Total number of 1-way streams\n"
"onewaystreams\n"
"0\n"

Loading…
Cancel
Save