unlang: matching for 'Access-Accept'

2009-08-28 Thread Mike O'Connor
Hi Guys How would I match for the packet type ie 'Access-Accept' in unlang Mike - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: unlang: matching for 'Access-Accept'

2009-08-28 Thread Ivan Kalik
How would I match for the packet type ie 'Access-Accept' in unlang Answers to questions like this can be found examining dictionary.freeradius.internal. These attributes are mostly on control list. So it should be: if(control:Packet-Type == Access-Accept) { ... Ivan Kalik Kalik Informatika ISP

Re: unlang: matching for 'Access-Accept'

2009-08-28 Thread Mike O'Connor
Ivan Kalik wrote: How would I match for the packet type ie 'Access-Accept' in unlang Answers to questions like this can be found examining dictionary.freeradius.internal. These attributes are mostly on control list. So it should be: if(control:Packet-Type == Access-Accept) { ...

Re: unlang: matching for 'Access-Accept'

2009-08-28 Thread Arran Cudbard-Bell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There does seem to be a problem, the %control:Packet-Type does not seem to expand to a value. rad_recv: Access-Accept packet from host 118.67.xxx.xxx port 1812, id=10, length=25 Proxy-State = 0x313534 +- entering group post-proxy {...}