pcap_recorder: use self.filters instead of gen_filter

Change-Id: I53779d521fbeed7c37bcaeb12be2531e4dbc005c
This commit is contained in:
Pau Espin 2017-05-15 15:01:15 +02:00
parent 6ab98983bd
commit 023fd2c748
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class PcapRecorder(log.Origin):
self.start()
def start(self):
self.log('Recording pcap', self.run_dir, self.gen_filter())
self.log('Recording pcap', self.run_dir, self.filters)
dumpfile = os.path.join(os.path.abspath(self.run_dir), self.name() + ".pcap")
self.process = process.Process(self.name(), self.run_dir,
('tcpdump', '-n',