Project

General

Profile

Bug #9296 » filterdns_verbosity.diff

Marcos M, 05/24/2022 02:32 PM

View differences:

src/etc/inc/captiveportal.inc
1566 1566
		} else {
1567 1567
			mwexec("/usr/local/sbin/filterdns -p " .
1568 1568
			    "{$g['varrun_path']}/filterdns-{$cpzone}-cpah.pid" .
1569
			    " -i 300 -c {$cp_filterdns_filename} -d 1");
1569
			    " -i 300 -c {$cp_filterdns_filename} -d 99");
1570 1570
		}
1571 1571
	} else {
1572 1572
		killbypid("{$g['varrun_path']}/filterdns-{$cpzone}-cpah.pid");
src/etc/inc/filter.inc
601 601
				} else {
602 602
					$resolve_interval = 300;
603 603
				}
604
				mwexec("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns.pid -i {$resolve_interval} -c {$g['varetc_path']}/filterdns.conf -d 1");
604
				mwexec("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns.pid -i {$resolve_interval} -c {$g['varetc_path']}/filterdns.conf -d 99");
605 605
			}
606 606
		} else {
607 607
			killbypid("{$g['varrun_path']}/filterdns.pid");
src/etc/inc/ipsec.inc
3326 3326
		if (isvalidpid("{$g['varrun_path']}/filterdns-ipsec.pid")) {
3327 3327
			sigkillbypid("{$g['varrun_path']}/filterdns-ipsec.pid", "HUP");
3328 3328
		} else {
3329
			mwexec_bg("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns-ipsec.pid -i {$interval} -c {$g['varetc_path']}/ipsec/filterdns-ipsec.hosts -d 1");
3329
			mwexec_bg("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns-ipsec.pid -i {$interval} -c {$g['varetc_path']}/ipsec/filterdns-ipsec.hosts -d 99");
3330 3330
		}
3331 3331
	} else {
3332 3332
		killbypid("{$g['varrun_path']}/filterdns-ipsec.pid");
src/etc/inc/system.inc
1084 1084
			if (isvalidpid("{$g['varrun_path']}/filterdns-route.pid")) {
1085 1085
				sigkillbypid("{$g['varrun_path']}/filterdns-route.pid", "HUP");
1086 1086
			} else {
1087
				mwexec("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns-route.pid -i {$interval} -c {$g['varetc_path']}/filterdns-route.hosts -d 1");
1087
				mwexec("/usr/local/sbin/filterdns -p {$g['varrun_path']}/filterdns-route.pid -i {$interval} -c {$g['varetc_path']}/filterdns-route.hosts -d 99");
1088 1088
			}
1089 1089
		} else {
1090 1090
			killbypid("{$g['varrun_path']}/filterdns-route.pid");
(9-9/14)