aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSridhar K. N. Rao <sridhar.rao@spirent.com>2021-06-26 18:42:33 +0530
committerSridhar K. N. Rao <sridhar.rao@spirent.com>2021-06-28 15:30:27 +0530
commit27999d960e8849ef3d689e405a5aa5cb7fe7f6b6 (patch)
treef23ef17fc75df3d87064470bd220f22913185d7c /tools
parentd5c0a03054f720da2a5ff9eba74feee57fb0296d (diff)
BUGFIXES: From Kali pre-release testing.
Multiple bug-fixes from thorough testing. More fixes added. Fix for Non-BLocking Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Idd2fb214ab6dc4eba8a834ab13ecaa29ff09445e
Diffstat (limited to 'tools')
-rw-r--r--tools/pkt_fwd/dummyfwd.py (renamed from tools/pkt_fwd/dummy.py)3
-rw-r--r--tools/tasks.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/pkt_fwd/dummy.py b/tools/pkt_fwd/dummyfwd.py
index 97ffc666..0de8d40f 100644
--- a/tools/pkt_fwd/dummy.py
+++ b/tools/pkt_fwd/dummyfwd.py
@@ -17,10 +17,11 @@
import logging
from conf import settings
+from tools.pkt_fwd.pkt_fwd import IPktFwd
_LOGGER = logging.getLogger(__name__)
-class Dummy(IPktFwd):
+class DummyFWD(IPktFwd):
"""Dummy implementation
"""
diff --git a/tools/tasks.py b/tools/tasks.py
index 4e03f85e..06408abd 100644
--- a/tools/tasks.py
+++ b/tools/tasks.py
@@ -391,7 +391,7 @@ class Process(object):
def run(self):
while True:
try:
- self.child.read_nonblocking()
+ self.child.read_nonblocking(timeout=None)
except (pexpect.EOF, pexpect.TIMEOUT):
break