public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH] ids.cgi: Update openvpn.pid to openvpn-rw.pid
Date: Mon, 15 Sep 2025 14:03:25 +0200	[thread overview]
Message-ID: <20250915120325.2558883-1-adolf.belka@ipfire.org> (raw)

- 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(-)

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	other threads:[~2025-09-15 12:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250915120325.2558883-1-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox