Do a second pass over the conditions. Fixes #421
authorAlan T. DeKok <aland@freeradius.org>
Tue, 3 Sep 2013 12:00:04 +0000 (08:00 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 3 Sep 2013 12:02:52 +0000 (08:02 -0400)
commit04379dcda55379c4e3f71c1457453beb43abf0b9
tree1228a8c6e9409149a4444466dc84e4ae1c34ac5e
parent1b20d4e7947e5015b6e3712a5d6d02b89edf18bb
Do a second pass over the conditions.  Fixes #421

Modules can register new attributes, so we may need to convert
literal comparisons to module comparisons.

The core can register new values for Auth-Type && friends
so we need to do a second pass to see if a failed lookup in pass1
is really a failure, or simply an early binding.

The next step is to add code to mark up late-registered paircompare
functions
src/include/modcall.h
src/include/parser.h
src/main/modcall.c
src/main/modules.c
src/main/parser.c