https://www.ntop.org/bugzilla3/show_bug.cgi?id=118

In pfring_mod_add_filtering_rule() (userland/lib/pfring_mod.c), there is the
following:

   int pfring_mod_add_filtering_rule(pfring *ring, filtering_rule*
rule_to_add) {
     int rc;

     if(rule_to_add)
       return(-1);

Looks like an accidental negated conditional: it is impossible to set a
non-NULL filtering rule.

-- Jack
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to