Project

General

Profile

« Previous | Next » 

Revision 12348eb4

Added by Seth Mos over 16 years ago

Fix existing static gateway check.

View differences:

etc/inc/gwlb.inc
224 224
	foreach($iflist as $ifname => $if ) {
225 225
		$gateway = array();
226 226
		$friendly = convert_real_interface_to_friendly_interface_name($ifname);
227
		if(is_ipaddr($config[$friendly]['gateway'])) {
227
		if(lookup_gateway_ip_by_name($config['interfaces'][$friendly]['gateway'])) {
228 228
			/* static configs are automatically from the array */
229 229
			continue;
230 230
		}

Also available in: Unified diff