summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_mobile.php
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-02-25 16:19:26 +0100
committerErmal LUÇI <eri@pfsense.org>2015-02-25 16:19:26 +0100
commit1f3d4db05e5e09cab6562a4b2c65ebbeee55ec45 (patch)
tree92cc2e0ca90346399ac4d7a156408f389aab8a22 /usr/local/www/vpn_ipsec_mobile.php
parente1c4a5ffca69242bb44b4f1841e555bbe2ef57f7 (diff)
downloadpfsense-1f3d4db05e5e09cab6562a4b2c65ebbeee55ec45.zip
pfsense-1f3d4db05e5e09cab6562a4b2c65ebbeee55ec45.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/www/vpn_ipsec_mobile.php')
-rw-r--r--usr/local/www/vpn_ipsec_mobile.php2
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.");
OpenPOWER on IntegriCloud