]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ids.cgi: Add UI to enable scanning on IPsec
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Sep 2024 15:22:48 +0000 (17:22 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 24 Sep 2024 08:45:35 +0000 (08:45 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ids.cgi

index 34ac83f52f9ec6ad3a37dd909c9e1b73387b6cda..4eaf4911ddc6a142a2d3aee95f2a7a5551e37c30 100644 (file)
@@ -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,
 );