Project

General

Profile

« Previous | Next » 

Revision df82fae1

Added by Seth Mos over 14 years ago

Don't forget to include $g, otherwise the check will fail and still perform a DNS resolve

View differences:

etc/inc/ipsec.inc
143 143
 * Return phase1 local address
144 144
 */
145 145
function ipsec_get_phase1_dst(& $ph1ent) {
146
	global $g;
146 147

  
147 148
	$rg = $ph1ent['remote-gateway'];
148 149
	if (!is_ipaddr($rg)) {

Also available in: Unified diff