Hi, for now, the only way to test flags is by $bf (not useful if there are enabled some bflags) or doing something as:
if (isbflagset(6)) { $var(bflag6) = 1; } xlog("L_INFO","--- $var(bflag6) ----\n");
As a suggestion, couldn't be a way to access to the value of a flag like:
xlog("L_INFO","--- $bf[6] ----\n");
This could be useful to when matching flgas with table fields and so.
Regards.