2 Certs for 2 SSID (802.1x)
C.F. Yeung
yeungcf at gmail.com
Mon May 21 11:15:04 CEST 2012
Thanks Matthew, it's tested okay.
On Fri, May 18, 2012 at 5:44 PM, Matthew Newton <mcn4 at leicester.ac.uk>wrote:
> On Fri, May 18, 2012 at 11:35:39AM +0800, C.F. Yeung wrote:
> > Sorry to bother again, how should I rewrite the unlang for the condition
> > that if the Called-Station-Id contains "eduroam"?
> >
> > if (Called-Station-Id == "xx-xx-xx-xx-xx-xx:eduroam") {
>
> man unlang - look for regular expressions.
>
> if (Called-Station-Id =~ /eduroam/) {
>
> or you may want something more like
>
> if (Called-Station-Id =~ /:eduroam$/) {
>
> to check that it ends in ":eduroam"
>
> Matthew
>
>
> --
> Matthew Newton, Ph.D. <mcn4 at le.ac.uk>
>
> Systems Architect (UNIX and Networks), Network Services,
> I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom
>
> For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120521/2127fc1d/attachment-0001.html>
More information about the Freeradius-Users
mailing list