]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/divert_freebsd/divert_cap.h
Validate data for a forbidden combination of alwaysOnline and ips
[stg.git] / projects / stargazer / plugins / capture / divert_freebsd / divert_cap.h
index 432ee4b1a27ea55c37a0d18aaed7bb52fe3b77e7..62a78a439c0430497bc69dfbb6870027c12444d1 100644 (file)
@@ -59,10 +59,13 @@ public:
     int                 ParseSettings();
     const std::string & GetStrError() const { return errorStr; }
     const std::string   GetVersion() const;
     int                 ParseSettings();
     const std::string & GetStrError() const { return errorStr; }
     const std::string   GetVersion() const;
-    uint16_t            GetStartPosition() const { return 10; }
-    uint16_t            GetStopPosition() const { return 10; }
+    uint16_t            GetStartPosition() const { return 40; }
+    uint16_t            GetStopPosition() const { return 40; }
 
 private:
 
 private:
+    DIVERT_CAP(const DIVERT_CAP & rvalue);
+    DIVERT_CAP & operator=(const DIVERT_CAP & rvalue);
+
     static void *       Run(void *);
 
     int                 DivertCapOpen();
     static void *       Run(void *);
 
     int                 DivertCapOpen();