]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/rscript/rscript.h
Use netinet/in.h instead of linux/in.h.
[stg.git] / projects / stargazer / plugins / other / rscript / rscript.h
index 8d22b458c870d72fba63ea61f3f7651134389ca7..e0412fb07501cdc2d2e70da2b269100f41a49ee3 100644 (file)
@@ -140,6 +140,7 @@ struct USER {
     USER(const std::vector<uint32_t> & r, USER_PTR it)
         : user(it),
           routers(r),
+          shortPacketsCount(0),
           ip(user->GetCurrIP())
     {}
 
@@ -213,7 +214,6 @@ private:
 
     std::vector<uint32_t> IP2Routers(uint32_t ip);
     bool                GetUsers();
-    std::string         GetUserParam(USER_PTR u, const std::string & paramName) const;
 
     void                SetUserNotifiers(USER_PTR u);
     void                UnSetUserNotifiers(USER_PTR u);