|
From: Dan F. <da...@ha...> - 2007-02-04 20:44:38
|
Riaan Kok wrote:
> Although.. (just got a random (he) idea here..) instead of an
> invasive patch, can't we just sort the hash of rules upon creation by
> the second layer $rulenr value? Is it possible? (David?)
>
>
Youd still need to make a new hash structure, since:
client_name -> rule_nr_4
- rule_nr_2
- rule_nr_5
helo_name -> rule_nr_3
- rule_nr_7
- rule_nr_1
sorted would look like:
client_name -> rule_nr_2
- rule_nr_4
- rule_nr_5
helo_name -> rule_nr_1
- rule_nr_3
- rule_nr_7
and be applied in that order.
- Dan
|