14 May
2012
14 May
'12
11:18 a.m.
On 14/05/12 15:25, jomajo wrote:
Failed parsing "Resv-Start-Time": Unknown value Resv-Start-Time for attribute Resv-Cur-Time
Ah, sorry. I keep forgetting unlang is picky. You want: if (Resv-Cur-Time < "%{Resv-Start-Time}") { .. } if (Resv-Cur-Time > "%{Resv-End-Time}") { .. } You need to quote the right-hand side of the expression, otherwise FreeRADIUS tries to look it up in the dictionary and can't find it. (might be handy to have an attribute type that didn't do this)