I also have really complex config files and Handlers and putting things on multiple lines does help to keep things neat. Hopefully this can be fixed, although i guess it's not a pressing issue to upgrade so no need to rush.
On 12-07-02 05:22 PM, Heikki Vatiainen wrote: > On 07/02/2012 09:47 PM, Aaron Holtz wrote: > >> Hello - I've noticed with 4.10 that you can no longer have multi-line >> Handler statements. > > Thanks for reporting this. There were changes between 4.9 and 4.10 > related to parsing hooks and I think this may be what caused the problem > you are seeing. > >> Under 4.9 something like this loads properly: >> >> <Handler Called-Station-Id=/(7103925369|7105941010|\ >> 4444563974|4445690321|3335774198)/, CHAP-Password=/[\w]+/> >> >> Under 4.10 I'm getting: >> >> Sun Jul 1 13:27:43 2012: ERR: Unknown keyword '<Handler' in >> /etc/raddb/test.cfg line 6 > > Yes, I can reproduce this took. > >> Is this a bug? We have a fairly complex config file with several >> multi-line handlers and upgrading to 4.10 isn't going to be possible >> without having some seriously long Handler statements. > > If you can wait a little with upgrading I will get back to this later > this week. > > Thanks, > Heikki > _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator