From e5da7dea66167602b9255ac6b77d9ab32398a23d Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 22 Sep 2024 17:22:48 +0200 Subject: [PATCH] ids.cgi: Add UI to enable scanning on IPsec Signed-off-by: Michael Tremer --- html/cgi-bin/ids.cgi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/ids.cgi b/html/cgi-bin/ids.cgi index 34ac83f52f..4eaf4911dd 100644 --- a/html/cgi-bin/ids.cgi +++ b/html/cgi-bin/ids.cgi @@ -53,8 +53,8 @@ my %ignored=(); # the list of zones in an array. my @network_zones = &Network::get_available_network_zones(); -# Always show Wireguard -push(@network_zones, "wg"); +# Always show IPsec & Wireguard +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") { @@ -72,6 +72,7 @@ my %colourhash = ( 'green' => $Header::colourgreen, 'blue' => $Header::colourblue, 'orange' => $Header::colourorange, + 'ipsec' => $Header::colourvpn, 'ovpn' => $Header::colourovpn, 'wg' => $Header::colourwg, ); -- 2.39.5