diff --git a/daemon/call.c b/daemon/call.c index ec4142bd4..26a85bfab 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -1345,9 +1345,8 @@ static void callmaster_timer(void *ptr) { DS(errors); mutex_lock(&m->statspslock); - ilog(LOG_INFO, "Start time:%llu\n", ke->stats.start.tv_nsec); - m->statsps.start = ke->stats.start; - m->statsps.end = ke->stats.end; + ps->stats.start = m->statsps.start = ke->stats.start; + ps->stats.end = m->statsps.end = ke->stats.end; mutex_unlock(&m->statspslock); mutex_lock(&ps->in_lock); diff --git a/daemon/cli.c b/daemon/cli.c index 0591ec581..4d105c215 100644 --- a/daemon/cli.c +++ b/daemon/cli.c @@ -151,7 +151,7 @@ static void cli_incoming_list_callid(char* buffer, int len, struct callmaster* m struct timespec result; timespec_subtract(&result,&(ps->stats.end),&(ps->stats.start)); printlen = snprintf(replybuffer,(outbufend-replybuffer), "------ Media #%u, port %5u <> %15s:%-5hu%s, " - "%llu p, %llu b, %llu e, %llu last_packet, %llu.%9llu delay\n", + "%llu p, %llu b, %llu e, %llu last_packet, %llu.%09llu delay\n", md->index, (unsigned int) (ps->sfd ? ps->sfd->fd.localport : 0), smart_ntop_p_buf(&ps->endpoint.ip46), ps->endpoint.port, diff --git a/kernel-module/xt_RTPENGINE.c b/kernel-module/xt_RTPENGINE.c index 7a134f05e..506bdf3b1 100644 --- a/kernel-module/xt_RTPENGINE.c +++ b/kernel-module/xt_RTPENGINE.c @@ -1808,7 +1808,6 @@ drop: static int send_proxy_packet(struct sk_buff *skb, struct re_address *src, struct re_address *dst, unsigned char tos) { - printk(KERN_WARNING "xt_RTPENGINE send_proxy_packet\n"); if (src->family != dst->family) goto drop; @@ -2238,7 +2237,7 @@ out: getnstimeofday(&g->stats.end); g->stats.measureactive=0; } - printk(KERN_WARNING "xt_RTPENGINE failed to create /proc entry for ID %llu\n", g->stats.start.tv_nsec); + if (err) g->stats.errors++; else {