]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
ovpnmain.cgi: Remove dead code
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Mar 2024 17:37:45 +0000 (18:37 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Jun 2025 19:45:31 +0000 (19:45 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index 9dd438a6b9e292b6a016476ca5252e4cb1cd5edf..57afa60cbbe04de7a97dda1975f166e75eb4b81e 100644 (file)
@@ -2475,10 +2475,6 @@ END
     &General::readhash("${General::swroot}/ovpn/settings", \%cgiparams);
     read_routepushfile;
 
-
-#    if ($cgiparams{'CLIENT2CLIENT'} eq '') {
-#      $cgiparams{'CLIENT2CLIENT'} =  'on';
-#    }
 ADV_ERROR:
        if ($cgiparams{'DAUTH'} eq '') {
                $cgiparams{'DAUTH'} = 'SHA512';