voipmonitor / sniffer

VoIPmonitor sniffer sources
226 stars 105 forks source link

Configuration file comments don't match the code #111

Closed suiyuemanbu closed 2 months ago

suiyuemanbu commented 2 months ago

in voipmonitor.conf: The maximum number of threads is capped at 9, even if a higher value is configured.

mysqlstore_max_threads_cdr = 2

but in sniffer-master\voipmonitor.cpp if((value = ini.GetValue("general", "mysqlstore_max_threads_cdr", NULL))) { opt_mysqlstore_max_threads_cdr = max(min(atoi(value), 99), 1); }

Which one is right? Please revise it.

voipmonitor commented 2 months ago

it is 99. Fixed in .conf now.