From 8034aec25ace155f939134575cef28c67d049a21 Mon Sep 17 00:00:00 2001 From: emdee Date: Fri, 28 Oct 2022 01:30:57 +0000 Subject: [PATCH] Fixed nmap interp --- tox_profile.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox_profile.py b/tox_profile.py index c83c6f8..c19e174 100644 --- a/tox_profile.py +++ b/tox_profile.py @@ -733,7 +733,8 @@ def lParseNapOutput(sFile): lRet = [] for sLine in open(sFile, 'rt').readlines(): if sLine.startswith('Failed to resolve ') or \ - 'Temporary failure in name resolution' in sLine: + 'Temporary failure in name resolution' in sLine or \ + '/udp closed' in sLine '/tcp closed' in sLine: lRet += [sLine] return lRet