]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
line number is not order.
authorAlan T. DeKok <aland@freeradius.org>
Sat, 24 Mar 2018 12:15:00 +0000 (08:15 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Sat, 24 Mar 2018 12:15:00 +0000 (08:15 -0400)
commitbee85afcc611a74306d9c1c13c70a3d1c7c96b70
treefb98e8760ee8436284796079868ad302a605aafe
parentad569193a1d3363f76f9213ffb07b02ee63311ba
line number is not order.

The "users" file may have multiple $INCLUDES.
We DON'T want a "user" entry at line 266 of "$INCLUDE 1" to conflict
with a "DEFAULT" entry at line 266 of "$INCLUDE 2".

So we add an "order", which tracks the entry number.  The "lineno"
is no longer used for ordering comparisons.  Instead, it's only
used for debugging.
src/include/tmpl.h
src/main/files.c
src/modules/rlm_files/rlm_files.c