Project

General

Profile

« Previous | Next » 

Revision 05952582

Added by Reid Linnemann almost 3 years ago

Correct dhcpv6 enable check to use config_get_path()

View differences:

src/etc/inc/filter.inc
3938 3938
				}
3939 3939
				break;
3940 3940
			default:
3941
				if ((is_array($config['dhcpdv6'][$on]) && isset($config['dhcpdv6'][$on]['enable'])) ||
3941
				$onif = config_get_path("dhcpv6/{$on}");
3942
				if (is_array($onif) && isset($onif['enable']) ||
3942 3943
				    (isset($oc['track6-interface'])) ||
3943 3944
				    (is_array($config['dhcrelay6']) && !empty($config['dhcrelay6']['interface']) && in_array($on, explode(',', $config['dhcrelay6']['interface'])))) {
3944 3945
					$ipfrules .= <<<EOD

Also available in: Unified diff