]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/cap_nf/cap_nf.h
Replace update user authorization loop with std::for_each
[stg.git] / projects / stargazer / plugins / capture / cap_nf / cap_nf.h
index c778a663dd9d84752a1d6ac5d3e2424d1353ee28..7712f76145d004eccb7006c25323118cd76ad6b7 100644 (file)
@@ -39,8 +39,8 @@ $Author: faust $
 #include "module_settings.h"
 
 #define VERSION "CAP_NF v. 0.4"
-#define START_POS 0
-#define STOP_POS 0
+#define START_POS 10
+#define STOP_POS 10
 
 class USERS;
 class USER;
@@ -105,8 +105,8 @@ public:
     int             Stop();
     int             Reload() { return 0; }
     bool            IsRunning() { return runningTCP || runningUDP; }
-    const string  & GetStrError() const { return errorStr; }
-    const string    GetVersion() const { return VERSION; }
+    const std::string & GetStrError() const { return errorStr; }
+    const std::string GetVersion() const { return VERSION; }
     uint16_t        GetStartPosition() const { return START_POS; }
     uint16_t        GetStopPosition() const { return STOP_POS; }