X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/cb062b7ca4e03597c0b25c5a2b6cbc554900fff6..f19bef8a44d3e9e02cc3d4069a3b0dd2169af094:/projects/stargazer/traffcounter_impl.cpp diff --git a/projects/stargazer/traffcounter_impl.cpp b/projects/stargazer/traffcounter_impl.cpp index 424cc094..237799f5 100644 --- a/projects/stargazer/traffcounter_impl.cpp +++ b/projects/stargazer/traffcounter_impl.cpp @@ -37,6 +37,7 @@ #include #include #include // fopen and similar +#include // strtol #include "stg/common.h" #include "stg/locker.h" @@ -57,7 +58,8 @@ tcp = 0, udp, icmp, tcp_udp, all //----------------------------------------------------------------------------- TRAFFCOUNTER_IMPL::TRAFFCOUNTER_IMPL(USERS_IMPL * u, const std::string & fn) - : WriteServLog(GetStgLogger()), + : TRAFFCOUNTER(), + WriteServLog(GetStgLogger()), rulesFileName(fn), monitoring(false), users(u),