It's working, thank you.

On Tue, Jun 24, 2008 at 5:55 AM, Mik Cheez <michael_bulk@wildgate.com> wrote:
Julien mangeard wrote:
Hi,

Can I get the bflag value in a script loaded with the perl module ?
It seams to me that the 'isbflagset' function isn't implemented.

Do you know another manner to obtain this value ?

Best Regards,


--
Julien Mangeard



Julien,

It's in a pseudo variable as of 1.2.  You should be able to do something straightforward like this in your Perl script:

sub function_name {
       my $m = shift; # headers
       my $bflag;

       $srcip = $m->pseudoVar("\$bf");
       ...
       ...
}

$bf is the decimal value stored

Here's the documentation relating to the pseudo variables:
http://openser.org/dokuwiki/doku.php/utils:flags



--
Julien Mangeard