Skip to content

Commit

Permalink
Merge pull request #644 from chribro88/fix-brokenpipe-liveringcap
Browse files Browse the repository at this point in the history
fix live_ring_capture.py
  • Loading branch information
KimiNewt authored Apr 26, 2023
2 parents 78b48d6 + c7aeef5 commit 1ac5831
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pyshark/capture/live_ring_capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,8 @@ def get_parameters(self, packet_count=None):
params += ['-b', 'filesize:' + str(self.ring_file_size), '-b', 'files:' + str(self.num_ring_files),
'-w', self.ring_file_name, '-P', '-V']
return params

def _get_dumpcap_parameters(self):
params = super(LiveRingCapture, self)._get_dumpcap_parameters()
params += ['-P']
return params

0 comments on commit 1ac5831

Please # to comment.