Skip to content

Commit af299f5

Browse files
committed
Merge branch 'master' of https://github.com/KimiNewt/pyshark
2 parents c09c2b5 + 8e0d543 commit af299f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pyshark/capture/live_ring_capture.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self, ring_file_size=1024, num_ring_files=1, ring_file_name='/tmp/p
3838
decryption_key=decryption_key, encryption_type=encryption_type,
3939
tshark_path=tshark_path, decode_as=decode_as, disable_protocol=disable_protocol,
4040
override_prefs=override_prefs, capture_filter=capture_filter,
41-
use_json=False, use_ek=False, include_raw=include_raw, eventloop=eventloop,
41+
use_json=use_json, use_ek=use_ek, include_raw=include_raw, eventloop=eventloop,
4242
custom_parameters=custom_parameters, debug=debug)
4343

4444
self.ring_file_size = ring_file_size
@@ -48,5 +48,5 @@ def __init__(self, ring_file_size=1024, num_ring_files=1, ring_file_name='/tmp/p
4848
def get_parameters(self, packet_count=None):
4949
params = super(LiveRingCapture, self).get_parameters(packet_count=packet_count)
5050
params += ['-b', 'filesize:' + str(self.ring_file_size), '-b', 'files:' + str(self.num_ring_files),
51-
'-w', self.ring_file_name, '-P']
51+
'-w', self.ring_file_name, '-P', '-V']
5252
return params

0 commit comments

Comments
 (0)