From: Michael Tremer Date: Fri, 6 Dec 2024 17:40:16 +0000 (+0100) Subject: wireguard.cgi: Don't offer to download the configuration for N2N X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9914a4f1cdf811e790164a1b2d047d985065b6ac;p=people%2Fms%2Fipfire-2.x.git wireguard.cgi: Don't offer to download the configuration for N2N Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/wireguard.cgi b/html/cgi-bin/wireguard.cgi index da88e1639..5c639800b 100644 --- a/html/cgi-bin/wireguard.cgi +++ b/html/cgi-bin/wireguard.cgi @@ -810,21 +810,37 @@ END print < +END + + if ($type eq "host") { + print < +END + } + + print < +END + + if ($type eq "host") { + print < +END + } + + print <