- This is needed to enable showing of the OpenVPN as a zone to use for the IDS

Signed-off-by: Adolf Belka <[email protected]>
---
 html/cgi-bin/ids.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi
index 960e72ef1..d96aa850b 100644
--- a/html/cgi-bin/ids.cgi
+++ b/html/cgi-bin/ids.cgi
@@ -57,7 +57,7 @@ my @network_zones = &Network::get_available_network_zones();
 push(@network_zones, "ipsec", "wg");
 
 # Check if openvpn is started and add it to the array of network zones.
-if ( -e "/var/run/openvpn.pid") {
+if ( -e "/var/run/openvpn-rw.pid") {
        push(@network_zones, "ovpn");
 }
 
-- 
2.51.0


Reply via email to