12 May
2013
12 May
'13
1:23 p.m.
if (Framed-IP-Address =~ "%{sql: ...") {
Yeah the key here is the type of comparison is done at parse time, not runtime there'd need to be an exception for IP addresses such that the format of the expansion was
*determined
at runtime. It's more code and more effort.
== is L = R
is L ⊃ R
< is L ⊂ R
= is L ⊇ R <= is L ⊆ R
and Alan has now implemented that, happy days! Still not sure I see the point of having different internal representations of IP addresses and netmasks, at least for IPv4, but oh well. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team