diff options
Diffstat (limited to 'accel-pptpd/ctrl/pppoe/dpado.c')
-rw-r--r-- | accel-pptpd/ctrl/pppoe/dpado.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/accel-pptpd/ctrl/pppoe/dpado.c b/accel-pptpd/ctrl/pppoe/dpado.c index 765803cd..3f565198 100644 --- a/accel-pptpd/ctrl/pppoe/dpado.c +++ b/accel-pptpd/ctrl/pppoe/dpado.c @@ -37,10 +37,10 @@ void dpado_check_next(int conn_cnt) dpado_range_next = list_entry(dpado_range_next->entry.next, typeof(*dpado_range_next), entry); else dpado_range_next = NULL; - printf("active=%i, prev=%i:%i, next=%i:%i, pado_delay=%i\n", stat_active, + /*printf("active=%i, prev=%i:%i, next=%i:%i, pado_delay=%i\n", stat_active, dpado_range_prev?dpado_range_prev->pado_delay:0,dpado_range_prev?dpado_range_prev->conn_cnt:0, dpado_range_next?dpado_range_next->pado_delay:0,dpado_range_next?dpado_range_next->conn_cnt:0, - pado_delay); + pado_delay);*/ } pthread_mutex_unlock(&dpado_range_lock); } @@ -52,10 +52,10 @@ void dpado_check_prev(int conn_cnt) dpado_range_next = dpado_range_prev; dpado_range_prev = list_entry(dpado_range_prev->entry.prev, typeof(*dpado_range_prev), entry); pado_delay = dpado_range_prev->pado_delay; - printf("active=%i, prev=%i:%i, next=%i:%i, pado_delay=%i\n", stat_active, + /*printf("active=%i, prev=%i:%i, next=%i:%i, pado_delay=%i\n", stat_active, dpado_range_prev?dpado_range_prev->pado_delay:0,dpado_range_prev?dpado_range_prev->conn_cnt:0, dpado_range_next?dpado_range_next->pado_delay:0,dpado_range_next?dpado_range_next->conn_cnt:0, - pado_delay); + pado_delay);*/ } pthread_mutex_unlock(&dpado_range_lock); } @@ -110,7 +110,7 @@ int dpado_parse(const char *str) } list_add_tail(&r->entry, &range_list); - printf("parsed range: %i:%i\n", r->pado_delay, r->conn_cnt); + //printf("parsed range: %i:%i\n", r->pado_delay, r->conn_cnt); if (!ptr2) break; @@ -144,10 +144,10 @@ int dpado_parse(const char *str) if (conf_pado_delay) _free(conf_pado_delay); conf_pado_delay = _strdup(str); - printf("active=%i, prev=%i:%i, next=%i:%i, pado_delay=%i\n", stat_active, + /*printf("active=%i, prev=%i:%i, next=%i:%i, pado_delay=%i\n", stat_active, dpado_range_prev?dpado_range_prev->pado_delay:0,dpado_range_prev?dpado_range_prev->conn_cnt:0, dpado_range_next?dpado_range_next->pado_delay:0,dpado_range_next?dpado_range_next->conn_cnt:0, - pado_delay); + pado_delay);*/ pthread_mutex_unlock(&dpado_range_lock); |