<div dir="ltr">Hi Alan,<div><br></div><div>The AP I am testing with does send the ssid name with the request, hopefully the new APs will too.</div><div>If not it could this be achieved by matching the mac of the APs? <br>
<div><br></div><div>This is what I came up with after finally figuring out what unlang meant. ;-]</div><div>Is this also correct? Your code looks more elegant though, just curious if this would also work.</div><div><br></div>
<div><div> if (Called-Station-ID =~ /^(.*?(\bssid\b)[^$]*)$/i) {</div><div> rewrite_calling_station_id</div><div> authorized_macs</div><div> if (!OK) {</div><div> reject</div>
<div> }</div><div> }</div></div><div><br></div></div><div>Unfortunately I will only be able to test this on Monday.<br></div><div><br></div><div>Thanks a lot and have a great weekend,</div><div>Bertalan</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 October 2013 18:12, Alan Buxey <span dir="ltr"><<a href="mailto:A.L.M.Buxey@lboro.ac.uk" target="_blank">A.L.M.Buxey@lboro.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That methods is possible if you kit sends an attribute you can use for this purpose. Look at debug logs. .. eg<br>
<br>
if(%{Called-Station-Id} ~= /:ssid$/) {<br>
blah blah<br>
}<span class="HOEnZb"><font color="#888888"><br>
<br>
alan<br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Bertalan Voros<div>m: 07932858025</div>
</div>