diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-02-25 16:19:26 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-02-25 16:19:41 +0100 |
commit | ca5f5db15679683fddd2b0bf89c24cb1d031f2ff (patch) | |
tree | 12214d8c0c359f128657fe8b906bfb74e7d730fa /usr/local | |
parent | 82e6fde290d5746abe1e579df6073782b6752a83 (diff) | |
download | pfsense-ca5f5db15679683fddd2b0bf89c24cb1d031f2ff.zip pfsense-ca5f5db15679683fddd2b0bf89c24cb1d031f2ff.tar.gz |
Ticket #4418 make sure the dns_split is separated with spaces rather than space or comma to comply with strongswan requirements.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/vpn_ipsec_mobile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_mobile.php b/usr/local/www/vpn_ipsec_mobile.php index 98072d8..2b70809 100644 --- a/usr/local/www/vpn_ipsec_mobile.php +++ b/usr/local/www/vpn_ipsec_mobile.php @@ -146,7 +146,7 @@ if ($_POST['submit']) { if ($pconfig['dns_split_enable']) { if (!empty($pconfig['dns_split'])) { - $domain_array=preg_split("/[ ,]+/",$pconfig['dns_split']); + $domain_array=explode(' ', $pconfig['dns_split']); foreach ($domain_array as $curdomain) { if (!is_domain($curdomain)) { $input_errors[] = gettext("A valid split DNS domain list must be specified."); |