Project

General

Profile

« Previous | Next » 

Revision b1ea7072

Added by Jim Pingle almost 12 years ago

Don't print this message for a mobile IPsec setup. It's normal for it to not have an endpoint, and not worth spamming the log about.

View differences:

etc/inc/vpn.inc
1837 1837
		} else {
1838 1838
			add_hostname_to_watch($phase1['remote-gateway']);
1839 1839
		}
1840
		if (!is_ipaddr($rgip)) {
1840
		if (isset($phase1['mobile'])) {
1841
			/* Don't log anything here, it's normal and we should skip it. */
1842
			return false;
1843
		} elseif (!is_ipaddr($rgip)) {
1841 1844
			log_error("Could not determine VPN endpoint for '{$phase1['descr']}'");
1842 1845
			return false;
1843 1846
		}

Also available in: Unified diff