diff options
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r-- | etc/inc/vpn.inc | 8 |
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"; } |