summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-03-06 11:29:25 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-03-06 11:29:25 -0300
commitb93bc1fd4995e731a51d461c8c4b08610ddbf7c1 (patch)
tree4ef78908749e305487f0c9c97198b8eaa8ab0920 /etc/inc/vpn.inc
parent877740eed5c70124c86281b24e8709ae734934a6 (diff)
downloadpfsense-b93bc1fd4995e731a51d461c8c4b08610ddbf7c1.zip
pfsense-b93bc1fd4995e731a51d461c8c4b08610ddbf7c1.tar.gz
Stop trying to fix dns_split during strongswan config generation, we have an upgrade code in place for that, it should fix #4418
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 1a3902c..1299859 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -414,14 +414,6 @@ EOD;
}
if (!empty($a_client['dns_split'])) {
- $ipsec_dns = explode(',', $a_client['dns_split']);
- foreach ($ipsec_dns as $ipsecidx => $ipsecdns) {
- $ipsecdns = trim($ipsecdns);
- $ipsec_dns[$ipsecidx] = "\"{$ipsecdns}\"";
- }
- $a_client['dns_split'] = implode(' ', $ipsec_dns);
- unset($ipsec_dns);
-
$strongswan .= "\t\t\t28675 = {$a_client['dns_split']}\n";
}
OpenPOWER on IntegriCloud