On Fri, Jul 20, 2007 at 12:22:48PM -0700, Paul B. Henson wrote:
> On Wed, 18 Jul 2007, Robert Felber wrote:
>
> > 65536 appears to be problematic. I have fixed this now in 0.1.14.6
>
> Was it a simple fix? Any chance of a small patch I can apply to my running
> 0.1.14.5?
--- policyd-weight Thu May 10 12:01:41 2007
+++ policyd-weight-0.1.14.5-p1 Sat Jul 21 09:21:20 2007
@@ -2953,7 +2953,7 @@
my $query = shift(@bu);
my $rtype = shift(@bu);
- my $oid = 1 + int(rand(65536));
+ my $oid = 1 + int(rand(65535));
$rtype = 'A' unless ($rtype && $RTYPES{$rtype});
--
Robert Felber (PGP: 896CF30B)
Munich, Germany
____________________________________________________________
Policyd-weight Mailinglist - http://www.policyd-weight.org/