Project

General

Profile

« Previous | Next » 

Revision 5281b3e8

Added by Chris Buechler almost 15 years ago

also include split_dns, as Cisco VPN clients won't query across the VPN without it.

View differences:

etc/inc/vpn.inc
371 371
				if ($a_client['wins_server2'])
372 372
					$racoonconf .= "\twins4 {$a_client['wins_server2']};\n";
373 373

  
374
				if ($a_client['dns_domain'])
374
				if ($a_client['dns_domain']) {
375 375
					$racoonconf .= "\tdefault_domain \"{$a_client['dns_domain']}\";\n";
376
					$racoonconf .= "\tsplit_dns \"{$a_client['dns_domain']}\";\n";
377
				}
376 378

  
377 379
				if ($a_client['pfs_group'])
378 380
					$racoonconf .= "\tpfs_group {$a_client['pfs_group']};\n";
......
1706 1708
	return true;
1707 1709
}
1708 1710

  
1709
?>
1711
?>

Also available in: Unified diff