| 846 | } |
| 847 | |
| 848 | void MainWindow::SSLServerStatus() |
| 849 | { |
| 850 | if (packetNetwork.SSLListening()) { |
| 851 | QString ports = packetNetwork.getSSLPortString(); |
| 852 | int portcount = packetNetwork.getSSLPortsBound().size(); |
| 853 | sslServerStatus->setToolTip(ports); |
| 854 | if(portcount > 3) { |
| 855 | sslServerStatus->setText("SSL: " + QString::number(portcount) + tr(" Ports")); |
| 856 | } else { |
| 857 | sslServerStatus->setText("SSL:" + ports); |
| 858 | } |
| 859 | |
| 860 | } else { |
| 861 | sslServerStatus->setText(tr("SSL Server Disabled")); |
| 862 | |
| 863 | } |
| 864 | |
| 865 | |
| 866 | } |
| 867 | |
| 868 | |
| 869 | void MainWindow::TCPServerStatus() |
nothing calls this directly
no test coverage detected