]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
start numbering at 1
authorAlan T. DeKok <aland@freeradius.org>
Tue, 21 Sep 2021 14:53:57 +0000 (10:53 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 21 Sep 2021 16:54:14 +0000 (12:54 -0400)
commit2ffa4aa3e923dda2aa48d5dd9db98929d57dc65c
tree83e9fa9721561c9bb19afdc437b6c7001793d60d
parent0e450efb59b17751a6d5466292d1f17a9c532561
start numbering at 1

some "internal" instructions are build dynamically, as with
unlang_module_push().  The instruction number there will be
zero, as there's currently no way to track these dynamic instructions.

As a result, we want to reserve array entry 0 as the canonical
"dynamic" instruction number, which won't get their stats tracked.
src/lib/unlang/compile.c