[pve-devel] [PATCH] add log for ipfilter, macfilter && ipv6 router-advertisement

Tom Weber pve at junkyard.4t2.com
Thu Sep 7 09:41:17 CEST 2017


Am Donnerstag, den 07.09.2017, 09:30 +0200 schrieb Alexandre DERUMIER:
> > 
> > > 
> > > you are aware that $rule is used elsewhere and in a totally
> > > different 
> > > way? just look in ruleset_add_group_rule. Thats why I named it 
> > > $matchrule initially to avoid confusion. 
> we already used it  like this in:
> 
> 
> 
> sub ruleset_addlog {
>      ...
>     $logrule = "$rule $logrule" if defined($rule);
> }
> 
> so I think it's fine.

well.. do a
$ grep '$rule->' Firewall.pm





More information about the pve-devel mailing list