unlang: matching for 'Access-Accept'

Ivan Kalik tnt at kalik.net
Fri Aug 28 10:30:05 CEST 2009


> 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




More information about the Freeradius-Users mailing list