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 /etc/inc/vpn.inc | |
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 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index 3fb7694..0f966db 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -407,13 +407,6 @@ EOD; $strongswan .= "\t\t\t# Search domain and default domain\n"; $strongswan .= "\t\t\t28674 = \"{$a_client['dns_domain']}\"\n"; if (empty($a_client['dns_split'])) { - $ipsec_dns = explode(',', $a_client['dns_domain']); - foreach ($ipsec_dns as $ipsecidx => $ipsecdns) { - $ipsec_dns[$ipsecidx] = trim($ipsecdns); - } - $a_client['dns_domain'] = implode(' ', $ipsec_dns); - unset($ipsec_dns); - $strongswan .= "\t\t\t28675 = \"{$a_client['dns_domain']}\""; } $strongswan .= "\n"; |