Hi Alan,
The AP I am testing with does send the ssid name with the request, hopefully the new APs will too.
If not it could this be achieved by matching the mac of the APs?
This is what I came up with after finally figuring out what unlang meant. ;-]
Is this also correct? Your code looks more elegant though, just curious if this would also work.
if (Called-Station-ID =~ /^(.*?(\bssid\b)[^$]*)$/i) {
rewrite_calling_station_id
authorized_macs
if (!OK) {
reject
}
}
Unfortunately I will only be able to test this on Monday.
Thanks a lot and have a great weekend,
Bertalan