]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/capture/ether_freebsd/ether_cap.h
Fix occasional crash on second and more reload in SMUX plugin
[stg.git] / projects / stargazer / plugins / capture / ether_freebsd / ether_cap.h
index b51cc56d72329431a9a8bf1e39a2adf2f4c8e086..ad9ff9f15ae817f7754dff0d0dc8a6ff7869f27b 100644 (file)
@@ -107,10 +107,13 @@ public:
 
     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:
+    BPF_CAP(const BPF_CAP & rvalue);
+    BPF_CAP & operator=(const BPF_CAP & rvalue);
+
     static void *       Run(void *);
     int                 BPFCapOpen();
     int                 BPFCapOpen(BPF_DATA * bd);