Project

General

Profile

« Previous | Next » 

Revision 21fb5288

Added by Jim Pingle almost 4 years ago

Correct pfctl syntax to kill by label. Fixes #12040

(cherry picked from commit 2afcd4527d4b245c7968bf7ac6b6c505259fe6c9)

View differences:

src/etc/inc/filter.inc
3352 3352
			if ($sched['name'] == $rule['sched']) {
3353 3353
				if (!filter_get_time_based_rule_status($sched)) {
3354 3354
					if (!isset($config['system']['schedule_states'])) {
3355
						mwexec("/sbin/pfctl -k s:{$sched['schedlabel']}");
3355
						mwexec("/sbin/pfctl -k label -k s:{$sched['schedlabel']}");
3356 3356
					}
3357 3357
					return "# schedule finished - {$rule['descr']}";
3358 3358
				} else if ($g['debug']) {

Also available in: Unified diff