28 Apr
2008
28 Apr
'08
7:40 a.m.
Wolfgang Burger wrote: ...
Then, in sites-enabled/default: ... if ( mac-add != Calling-Station-ID ) {
That won't work. See "man unlang". The right hand side of an comparison CANNOT be a reference to an attribute. It MUST be something else. e.g. if (mac-add != "%{Calling-Station-Id}") { ... The reason is that it's perfectly fine to do: if (foo == 1) And '1' is obviously not an attribute... Alan DeKok.