Re: pf label $nr macro expand reproducable bug
- Reply: Özkan KIRIK : "Re: pf label $nr macro expand reproducable bug"
- In reply to: Özkan KIRIK : "pf label $nr macro expand reproducable bug"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 Sep 2021 08:10:19 UTC
On 15 Sep 2021, at 9:43, Özkan KIRIK wrote: > I'm using FreeBSD stable/12. > I've tested this situation on stable/12 both 0f97f2a1857a (Jul 26 > 2021) and ebb3327d09ce (Sep 14) build. > > label $nr macro is works as expected for most of rules. But with the > example below $nr macro was expanded incorrectly. Outputs are below. > > If you need, I can open a PR. > > # ifconfig -g lo > lo0 > > Experiment #1: The right output should be "ruleNo:2", but system > expands as "ruleNo:257". > I can’t reproduce this, either on main or on stable/12. Br, Kristof