@@ -38,7 +38,7 @@ def __init__(self, ring_file_size=1024, num_ring_files=1, ring_file_name='/tmp/p
38
38
decryption_key = decryption_key , encryption_type = encryption_type ,
39
39
tshark_path = tshark_path , decode_as = decode_as , disable_protocol = disable_protocol ,
40
40
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 ,
42
42
custom_parameters = custom_parameters , debug = debug )
43
43
44
44
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
48
48
def get_parameters (self , packet_count = None ):
49
49
params = super (LiveRingCapture , self ).get_parameters (packet_count = packet_count )
50
50
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' ]
52
52
return params
0 commit comments