ids.cgi: Update openvpn.pid to openvpn-rw.pid

Message ID 20250915120325.2558883-1-adolf.belka@ipfire.org
State New
Headers
Series ids.cgi: Update openvpn.pid to openvpn-rw.pid |

Commit Message

Adolf Belka 15 Sep 2025, 12:03 p.m. UTC
- This is needed to enable showing of the OpenVPN as a zone to use for the IDS

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 html/cgi-bin/ids.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

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");
 }