Project

General

Profile

« Previous | Next » 

Revision e9c88ff2

Added by Jim Pingle almost 2 years ago

Check disabled gw/ifs when validating gw addr fam. Fixes #8846

View differences:

src/etc/inc/gwlb.inc
1664 1664
		$v6gw = true;
1665 1665
	}
1666 1666

  
1667
	$gw_array = return_gateways_array();
1667
	/* Check gateways including disabled gateways and gateways for disabled
1668
	 * interfaces.
1669
	 * https://redmine.pfsense.org/issues/8846
1670
	 */
1671
	$gw_array = return_gateways_array(true, false, true);
1668 1672
	if (is_array($gw_array[$gwname])) {
1669 1673
		switch ($gw_array[$gwname]['ipprotocol']) {
1670 1674
			case "inet":

Also available in: Unified diff