File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,10 @@ accept_eep_client(void *info)
177
177
if (capture_packet_parse (pkt ) != 0 ) {
178
178
packet_destroy (pkt );
179
179
}
180
+
181
+ // Store this packets in output file
182
+ capture_dump_packet (pkt );
183
+
180
184
capture_unlock ();
181
185
}
182
186
}
@@ -678,9 +682,6 @@ capture_eep_receive_v2()
678
682
// We don't longer require frame payload anymore, because adding the frame to packet clones its memory
679
683
sng_free (frame_payload );
680
684
681
- // Store this packets in output file
682
- capture_dump_packet (pkt );
683
-
684
685
/* FREE */
685
686
sng_free (payload );
686
687
return pkt ;
@@ -863,9 +864,6 @@ capture_eep_receive_v3(const u_char *pkt, uint32_t size)
863
864
// We don't longer require frame payload anymore, because adding the frame to packet clones its memory
864
865
sng_free (frame_payload );
865
866
866
- // Store this packets in output file
867
- capture_dump_packet (pkt_new );
868
-
869
867
/* FREE */
870
868
sng_free (payload );
871
869
return pkt_new ;
You can’t perform that action at this time.
0 commit comments