Signed-off-by: Radek Pazdera <rpazdera(a)redhat.com>
---
lnst/Common/PacketCapture.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lnst/Common/PacketCapture.py b/lnst/Common/PacketCapture.py
index 8cfad17..69ad5cb 100644
--- a/lnst/Common/PacketCapture.py
+++ b/lnst/Common/PacketCapture.py
@@ -50,8 +50,8 @@ class PacketCapture:
output_file = self._file
pcap_filter = self._filter
- self._cmd = "tcpdump -p -i %s -w %s \"%s\"" % (interface,
output_file,
- pcap_filter)
+ self._cmd = "tcpdump -p -i %s -w %s \"%s\" 2>/dev/null" %
\
+ (interface, output_file, pcap_filter)
def _execute_tcpdump(self):
""" Start tcpdump in the background """
--
1.7.7.6