summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/meta/cve-update-db-native.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/cve-update-db-native.bb b/meta/recipes-core/meta/cve-update-db-native.bb
index 079f062f79..e042e67b09 100644
--- a/meta/recipes-core/meta/cve-update-db-native.bb
+++ b/meta/recipes-core/meta/cve-update-db-native.bb
@@ -130,7 +130,10 @@ def update_db_file(db_tmp_file, d):
130 response = urllib.request.urlopen(meta_url, timeout=cve_socket_timeout) 130 response = urllib.request.urlopen(meta_url, timeout=cve_socket_timeout)
131 except urllib.error.URLError as e: 131 except urllib.error.URLError as e:
132 cve_f.write('Warning: CVE db update error, Unable to fetch CVE data.\n\n') 132 cve_f.write('Warning: CVE db update error, Unable to fetch CVE data.\n\n')
133 bb.warn("Failed to fetch CVE data (%s)" % e.reason) 133 bb.warn("Failed to fetch CVE data (%s)" % e)
134 import socket
135 result = socket.getaddrinfo("nvd.nist.gov", 443, proto=socket.IPPROTO_TCP)
136 bb.warn("Host IPs are %s" % (", ".join(t[4][0] for t in result)))
134 return False 137 return False
135 138
136 if response: 139 if response: