diff options
author | jim-p <jimp@pfsense.org> | 2010-10-05 08:33:05 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-05 08:34:11 -0400 |
commit | 4178a1ddf67da87a1a86c5df9c3367aea6d3ae07 (patch) | |
tree | d491a1a38866bdf518542dc0b534fb93f867b824 /etc/inc/vpn.inc | |
parent | d62b164af610561d15b4e30dfc6f9125cce801e2 (diff) | |
download | pfsense-4178a1ddf67da87a1a86c5df9c3367aea6d3ae07.zip pfsense-4178a1ddf67da87a1a86c5df9c3367aea6d3ae07.tar.gz |
Add contributed patch to allow certain IPsec mobile clients to save Xauth passwords. Fixes #933.
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 0494a4d..b99449f 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -390,6 +390,9 @@ function vpn_ipsec_configure($ipchg = false) $racoonconf .= "\tbanner \"{$fn}\";\n"; } + if (isset($a_client['save_passwd'])) + $racoonconf .= "\tsave_passwd on;\n"; + $racoonconf .= "}\n\n"; } /* end mode_cfg section */ |