Duplicate clients

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


Hello,

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: 1.2.3.4 (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.


Regards

Stephan Jaeger

-- 
Stephan Jaeger <stephan.jaeger at ewetel.de>
EWE TEL GmbH
-------------- 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