]> 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, 23 Sep 2024 11:08:42 +0000 (13:08 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index 52e91c8c5b1e43f24c35c3f76a992796eaf26ea0..7ae5755e340f5c897c61bb1bb89ddaf43914499d 100755 (executable)
@@ -2474,10 +2474,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';