OK, make it work with test packet:
authoraland <aland>
Thu, 15 Aug 2002 14:44:56 +0000 (14:44 +0000)
committeraland <aland>
Thu, 15 Aug 2002 14:44:56 +0000 (14:44 +0000)
commita9389948bdc0788f78f9f53480022c1e0c299f04
treeeb36f8e851f53825b0e4907dec2c125047f433af
parent16795b443892c2a9a442ab41e0a582e86b9fcc9c
OK, make it work with test packet:

User-Name = "bob", User-Password = "bob", Framed-IP-Address = 1.2.3.4, NAS-IP-Address = 5.6.7.8

and 'users' file entry:

bob Auth-Type := Local, User-Password == "bob"
Tunnel-Client-Auth-Id:0 = `UPDATE ${acct_table1} SET FramedIPAddress = '%{Framed-IP-Address}', NASIPAddress='%{NAS-IP-Address}'`

and receiving reply:

Tunnel-Client-Auth-Id:0 = "UPDATE  SET FramedIPAddress = '1.2.3.4', NASIPAddress='5.6.7.8'"

The only problem now, is that the not-found xlat's don't cause
errors.
src/main/xlat.c