]> git.ipfire.org Git - ipfire-2.x.git/commit
ovpnmain.cgi: Only load status when the server is running
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Jun 2025 15:04:50 +0000 (17:04 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Jul 2025 09:39:08 +0000 (09:39 +0000)
commit07c05baff8f4c76d00dcbe9d6a120330131bb4ea
treef43b1cc327790a387abb5a9d3a38f9b908094d63
parent3a9b321e3afc6cdbc0eb355d626f2a8fe8db3ce3
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