Duplicate clients

Stephan Jaeger stephan.jaeger at ewetel.de
Fri Aug 3 17:04:14 CEST 2007


if you have duplicate clients in clients.conf/sql, there is few output
from the server just a "Failed to add client %s". The attached patch
also logs an "Duplicate client ip: (foobar)" to L_ERR.

In case of a failure in client_add() rlm_sql does only log
"generate_sql_clients() returned error". The attached patch also logs
"rlm_sql (%s): Failed to add client foobar" like the config parser does.


Stephan Jaeger

Stephan Jaeger <stephan.jaeger at ewetel.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20070803/583e2fea/attachment.pgp>

More information about the Freeradius-Devel mailing list