summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index de26ecc..8b2f021 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -371,8 +371,10 @@ function vpn_ipsec_configure($ipchg = false)
if ($a_client['wins_server2'])
$racoonconf .= "\twins4 {$a_client['wins_server2']};\n";
- if ($a_client['dns_domain'])
+ if ($a_client['dns_domain']) {
$racoonconf .= "\tdefault_domain \"{$a_client['dns_domain']}\";\n";
+ $racoonconf .= "\tsplit_dns \"{$a_client['dns_domain']}\";\n";
+ }
if ($a_client['pfs_group'])
$racoonconf .= "\tpfs_group {$a_client['pfs_group']};\n";
@@ -1706,4 +1708,4 @@ function reload_tunnel_spd_policy($phase1, $phase2, $old_phase1, $old_phase2) {
return true;
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud