diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-02-13 12:31:49 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-02-13 12:31:49 +0100 |
commit | d17ad7f529f92726fc4672caa5779d726377f843 (patch) | |
tree | dbbb263eaa2233d50c17a4a553aef9b2c8e4ca82 /etc/inc/vpn.inc | |
parent | 47d3f94ae10fa825805dd1aef8bfd49c927fbee0 (diff) | |
download | pfsense-d17ad7f529f92726fc4672caa5779d726377f843.zip pfsense-d17ad7f529f92726fc4672caa5779d726377f843.tar.gz |
Surrond the some mobile clients attributes with " ( quote ) to help the strongswan parser identify properly the values. Ticket #4418
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 860d5b6..2f137c7 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -405,24 +405,24 @@ EOD; if (!empty($a_client['dns_domain'])) { $strongswan .= "\t\t\t# Search domain and default domain\n"; - $strongswan .= "\t\t\t28674 = {$a_client['dns_domain']}\n"; + $strongswan .= "\t\t\t28674 = \"{$a_client['dns_domain']}\"\n"; if (empty($a_client['dns_split'])) - $strongswan .= "\t\t\t28675 = {$a_client['dns_domain']}"; + $strongswan .= "\t\t\t28675 = \"{$a_client['dns_domain']}\""; $strongswan .= "\n"; } if (!empty($a_client['dns_split'])) { - $strongswan .= "\t\t\t28675 = {$a_client['dns_split']}\n"; + $strongswan .= "\t\t\t28675 = \"{$a_client['dns_split']}\"\n"; } if (!empty($a_client['login_banner'])) - $strongswan .= "\t\t\t28672 = {$a_client['login_banner']}\n"; + $strongswan .= "\t\t\t28672 = \"{$a_client['login_banner']}\"\n"; if (isset($a_client['save_passwd'])) $strongswan .= "\t\t\t28673 = 1\n"; if ($a_client['pfs_group']) - $strongswan .= "\t\t\t28679 = {$a_client['pfs_group']}\n"; + $strongswan .= "\t\t\t28679 = \"{$a_client['pfs_group']}\"\n"; $strongswan .= "\t\t}\n"; if ($a_client['user_source'] != "none") { |