]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
ovpnmain.cgi: Only load status when the server is running openvpn-rebase
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Jun 2025 15:04:50 +0000 (17:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Jun 2025 15:04:50 +0000 (17:04 +0200)
commitbc15e0fc8e9dfacd74a8f11e337360279c84dfed
tree7eff99db28de6b4e71db2f570e870957a3ed5584
parenta152a3f55a258796a44361f90c30f37e99247016
ovpnmain.cgi: Only load status when the server is running

Otherwise we would show the status if the service is no longer running
and show clients as connected which have only been connected when the
server was stopped.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi