21 Jul
2010
21 Jul
'10
5 a.m.
Johan Meiring wrote:
I'm 100% sure my syntax is wrong today (I'm not an unlang master yet), but the idea should work.
Opinions?
Close. - You need to "update" a specific list. - you need double quotes around string values - the parser is *very* specific. Follow the examples in "man unlang" closely. authorize { ... if (ADSL-Agent-Circuit-Id && \ ("%{sql: select ...}")) { update control { Auth-Type := Accept } } else { reject } } Alan DeKok.