From 35b5392a958b9f3439dab71a19485326c9d7343b Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 7 Aug 2012 17:04:37 +0200 Subject: [PATCH] vpnmain.cgi: Fix saving ENABLED status. The web interface ignores what has been set to the ENABLED checkbox. http://lists.ipfire.org/pipermail/development/2012-August/000047.html --- html/cgi-bin/vpnmain.cgi | 1 + 1 file changed, 1 insertion(+) diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index 831ef93bf1..56d80c6e1f 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -436,6 +436,7 @@ if ($cgiparams{'ACTION'} eq $Lang::tr{'save'} && $cgiparams{'TYPE'} eq '' && $cg goto SAVE_ERROR; } + $vpnsettings{'ENABLED'} = $cgiparams{'ENABLED'}; $vpnsettings{'VPN_IP'} = $cgiparams{'VPN_IP'}; $vpnsettings{'VPN_DELAYED_START'} = $cgiparams{'VPN_DELAYED_START'}; $vpnsettings{'RW_NET'} = $cgiparams{'RW_NET'}; -- 2.39.5