Project

General

Profile

« Previous | Next » 

Revision c489213a

Added by Marcos M over 1 year ago

Kill matching opposite states when schedules expire. Fix #15252

View differences:

src/etc/inc/filter.inc
3704 3704
			if ($sched['name'] == $rule['sched']) {
3705 3705
				if (!filter_get_time_based_rule_status($sched)) {
3706 3706
					if (!config_path_enabled('system','schedule_states')) {
3707
						mwexec("/sbin/pfctl -k label -k s:{$sched['schedlabel']}");
3707
						mwexec("/sbin/pfctl -M -k label -k s:{$sched['schedlabel']}");
3708 3708
					}
3709 3709
					return "# schedule finished - {$rule['descr']}";
3710 3710
				} else if (g_get('debug')) {

Also available in: Unified diff