Pair matching when attribute not present

Alan DeKok aland at deployingradius.com
Fri Aug 19 14:25:30 CEST 2011


Brian Candler wrote:
> But then should it not be at least consistent? Can you explain when the
> paircmp() logic is used, and when paircompare() logic is used?

  The first is for "compare two attributes".  The second is for "compare
two attributes, including server-side internal attributes"

  Most of the code in the server should use the second function.  The
only code which uses the first one is the code working on actual RADIUS
packets.

  Alan DeKok.



More information about the Freeradius-Devel mailing list