()
| 492 | } |
| 493 | |
| 494 | function getSrvPortIPList() { |
| 495 | let port = this.id.substring(4); |
| 496 | |
| 497 | let data = SrvRecords[port]; |
| 498 | let old_tbody = document.getElementById("srvOutputBody"); |
| 499 | let new_tbody = document.createElement('tbody'); |
| 500 | |
| 501 | document.getElementById("srvTableTitle").innerHTML = "<b> Port " + port + " Results</b>"; |
| 502 | |
| 503 | for (let entry in data) { |
| 504 | let row = new_tbody.insertRow(0); |
| 505 | let cell1 = row.insertCell(0); |
| 506 | cell1.style = "text-align:left; padding: 10px;"; |
| 507 | let cell2 = row.insertCell(1); |
| 508 | cell2.style = "text-align:left; padding: 10px;"; |
| 509 | cell1.innerHTML = data[entry][0]; |
| 510 | cell2.innerHTML = data[entry][1]; |
| 511 | } |
| 512 | |
| 513 | old_tbody.parentNode.replaceChild(new_tbody, old_tbody) |
| 514 | new_tbody.id = "srvOutputBody"; |
| 515 | } |
| 516 | |
| 517 | function process_srv(results) { |
| 518 |
nothing calls this directly
no outgoing calls
no test coverage detected