Skip to Content.
Sympa Menu

devel - Q regarding scenarios

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Christian Mock <address@concealed>
  • To: address@concealed
  • Subject: Q regarding scenarios
  • Date: Tue, 20 Jan 2004 18:37:53 +0100

Hello,

I try to understand the scenario code, and I see the following
(sub request_action, List.pm:4246 in sympa-4.0.a7):

if ($result == -1) {
do_log('debug3',"rule
$rule->{'condition'},$rule->{'auth_method'},$rule->{'action'} rejected");
next;
}

As I understand the code, -1 means that the action was "reject", and the
"next" goes to the next action -- which would mean that a reject action
before a do_it action would not trigger unless the conditions for the
do_it were _not_ met -- is this just me misunderstanding the code, or
is this a bug?

cm.


--
Christian Mock Wiedner Hauptstr. 15
Senior Security Engineer 1040 Wien
CoreTEC IT Security Solutions GmbH +43-1-5037273



Archive powered by MHonArc 2.6.19+.

Top of Page