Hi Alan, On Sat, Apr 14, 2007 at 03:26:11AM +0200, Alan DeKok wrote: > Milan Holub wrote: > > Unfortunately I'm getting the output stripped by last character(byte): > > instead of getting 37 for session_count I get 3, instead of getting 1563 > > for noresetcounterflat I get 156, instead of getting "S3H" for product_code > > I get "S3". When the query returns 1 character I get empty output. > > Ah. That looks like an issue with "strlcpy". Try a "cvs update", > I've fixed a line in sql_xlat.
==> thanks for the fix. I've tested and it seems working! Milan Holub holub (at) thenet (dot) ch -------------------------------------- TheNet-Internet Services AG, im Bernertechnopark, Morgenstr. 129 CH-3018, Bern, Switzerland 031 998 4333, Fax 031 998 4330 http://www.thenet.ch http://wlan.thenet.ch -------------------------------------- - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html