On ven, 2015-09-11 at 14:28 +0200, Leonardo Arena wrote:
On ven, 2015-09-11 at 13:12 +0100, Arran Cudbard-Bell wrote:
Unfortunately this does not seem to be case:
Hm, this shouldn't have been removed until v3.1.0. I've added it back. You can use v3.0.x HEAD if you want to continue using old style clients, but it might be better to fixup your clients.conf file.
Thank you! I'm importing the GIT patch into the package. Also 3.0.9 fixed my issue.
Thanks!
- leo
hum, seems the patch does not compile: src/main/client.c: In function 'client_afrom_cs': src/main/client.c:968:3: error: too many arguments to function 'fr_pton' if (fr_pton(&c->ipaddr, name2, 0, true, true) < 0) { ^ In file included from /home/larena/aports-2.7-stable/main/freeradius3/src/freeradius-server-3.0.9/src/freeradius-devel/radiusd.h:29:0, from src/main/client.c:29: /home/larena/aports-2.7-stable/main/freeradius3/src/freeradius-server-3.0.9/src/freeradius-devel/libradius.h:709:6: note: declared here int fr_pton(fr_ipaddr_t *out, char const *value, ssize_t inlen, bool resolve); ^ scripts/boiler.mk:630: recipe for target 'build/objs/src/main/client.lo' failed make: *** [build/objs/src/main/client.lo] Error 1 Not really my field here. Seems that fr_pton expects 4 arguments, but may be I read it wrong, given my very poor C knowledge. Thanks! - leo