[network-manager-fortisslvpn] contrib: revert accidentally committed bits



commit 838c7381e734158d59b8057e2e6ddab073d54740
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Fri Sep 25 20:43:53 2015 +0200

    contrib: revert accidentally committed bits

 contrib/fortiserve.pl |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/contrib/fortiserve.pl b/contrib/fortiserve.pl
index dc9b6d0..6e82d64 100644
--- a/contrib/fortiserve.pl
+++ b/contrib/fortiserve.pl
@@ -196,6 +196,7 @@ sub do_ppp
        $client->blocking (0);
 
        exec ($pppd, $pty->ttyname, qw/38400 noipdefault noaccomp noauth
+       # debug logfile chudak
                ms-dns 6.6.6.7 ms-dns 8.8.8.8 noccp
                default-asyncmap nopcomp nodefaultroute :1.1.1.2 nodetach
                lcp-max-configure 40 usepeerdns mru 1024/) or die $! unless $ppp;
@@ -251,7 +252,7 @@ sub serve_request
 
        if ($request->uri eq '/remote/logincheck') {
                $response = new HTTP::Response (200 => 'OK', [], 'something');
-               #$response->header ('Set-Cookie' => 'SVPNCOOKIE=something;');
+               $response->header ('Set-Cookie' => 'SVPNCOOKIE=something;');
        } elsif ($request->uri eq '/remote/index') {
                $response = new HTTP::Response (200 => 'OK', [], 'something');
        } elsif ($request->uri eq '/remote/fortisslvpn') {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]