Project

General

Profile

« Previous | Next » 

Revision ee574a9e

Added by Renato Botelho over 11 years ago

Fix a bug introduced in commit 06b8d43c that breaks return_gateways_array() called with $disabled == false

View differences:

etc/inc/gwlb.inc
388 388
			$wancfg = $config['interfaces'][$gateway['interface']];
389 389

  
390 390
			/* skip disabled interfaces */
391
			if ($disabled === false && (!isset($wancfg['enable']) || !isset($gateway['disabled'])))
391
			if ($disabled === false && (!isset($wancfg['enable']) || isset($gateway['disabled'])))
392 392
				continue;
393 393

  
394 394
			/* if the gateway is dynamic and we can find the IPv4, Great! */

Also available in: Unified diff