(results, type)
| 284 | } |
| 285 | |
| 286 | function aws_check_result(results, type) { |
| 287 | if (results['result'] === true) { |
| 288 | var awsResult = document.getElementById("hostingLocation"); |
| 289 | |
| 290 | let displayHTML = create_h3("AWS Information"); |
| 291 | if (type === 'ipv6') { |
| 292 | displayHTML += "Region: " + results['record']['region'] + ", Service: " + results['record']['service'] + ", CIDR: " + results['record']['ipv6_prefix']; |
| 293 | } else { |
| 294 | displayHTML += "Region: " + results['record']['region'] + ", Service: " + results['record']['service'] + ", CIDR: " + results['record']['ip_prefix']; |
| 295 | } |
| 296 | awsResult.innerHTML += displayHTML + "<br/><br/>" |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | function aws_check(type, ip) { |
| 301 | var url; |
nothing calls this directly
no test coverage detected