X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/5cf7604389d8846f9c1c21dbb6915f7639659c4c..04c52c861598a001bfe217ef6ebe5c4c0d4c6354:/projects/stargazer/traffcounter_impl.cpp diff --git a/projects/stargazer/traffcounter_impl.cpp b/projects/stargazer/traffcounter_impl.cpp index f410b109..e056a7a6 100644 --- a/projects/stargazer/traffcounter_impl.cpp +++ b/projects/stargazer/traffcounter_impl.cpp @@ -29,6 +29,7 @@ */ /* inet_aton */ +#include #include #include #include @@ -938,7 +939,7 @@ return; //----------------------------------------------------------------------------- void TRAFFCOUNTER_IMPL::SetMonitorDir(const std::string & monitorDir) { -TRAFFCOUNTER::monitorDir = monitorDir; +TRAFFCOUNTER_IMPL::monitorDir = monitorDir; monitoring = (monitorDir != ""); } //-----------------------------------------------------------------------------