]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids.cgi: Update openvpn.pid to openvpn-rw.pid
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 15 Sep 2025 12:03:25 +0000 (14:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 15 Sep 2025 14:19:22 +0000 (14:19 +0000)
- 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>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ids.cgi

index 960e72ef1cd44d9e08ef1354d859f191c1a24b46..d96aa850b158e5fbc9d8eebe5c70d9edf42df69d 100644 (file)
@@ -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");
 }