New feature in v3: cast!

Brian Candler B.Candler at pobox.com
Sun May 12 12:39:30 CEST 2013


On Sat, May 11, 2013 at 10:19:02AM -0400, Alan DeKok wrote:
>   Not fishing casts, but data type casts. :)  See "man unlang" for details.
> 
>   if (<ipaddr>127.0.0.1 < &Framed-IP-Address) {
> 	...
>   }

1. Why is <ipaddr> necessary before the literal? Surely an unquoted
127.0.0.1 can't be parsed as anything else.

2. What does the & in front of Framed-IP-Address do?


More information about the Freeradius-Devel mailing list