pass in {$log['pass']} on \${$FilterIflist['wan']['descr']} proto tcp from any to $pptpdtarget port = 1723 modulate state label "{$fix_rule_label("allow pptpd {$pptpdtarget}")}"
pass in {$log['pass']} on \${$FilterIflist['wan']['descr']} proto tcp from any to $pptpdtarget port = 1723 modulate state label "{$fix_rule_label("allow pptpd {$pptpdtarget}")}"
...
@@ -3163,7 +3163,7 @@ function filter_tdr_hour($schedule)
...
@@ -3163,7 +3163,7 @@ function filter_tdr_hour($schedule)
$starting_time=strtotime($tmp[0]);
$starting_time=strtotime($tmp[0]);
$ending_time=strtotime($tmp[1]);
$ending_time=strtotime($tmp[1]);
$now=strtotime("now");
$now=strtotime("now");
if($now>=$starting_timeand$now<$ending_time){
if($now>=$starting_time&&$now<$ending_time){
returntrue;
returntrue;
}
}
returnfalse;
returnfalse;
...
@@ -3225,7 +3225,7 @@ function filter_process_carp_rules($log)
...
@@ -3225,7 +3225,7 @@ function filter_process_carp_rules($log)
$lines='';
$lines='';
/* return if there are no carp configured items */
/* return if there are no carp configured items */