>>>>> On Wed, 25 Oct 2006 17:59:47 +0200, Thomas =?UTF-8?Q?P=C3=B6hnitzsch?= 
>>>>> <[EMAIL PROTECTED]> said:


    > +    } elsif ($hex =~ /[0-9A-F]+/) {
    > +        my $hexstrip = (split /\./,$hex)[0]; # remove .disable if 
necessary
    > +        $n = $hexstrip;
    > +        # hex to ip/subnet address
    > +        while ( length $n ) { 
    > +            $host = sprintf( "%s%d" ,$host?"$host.":$host,
    > +                        (hex substr $n,0,1,"" ) * 16 + (hex substr 
$n,0,1,"")); 
    > +        }
    > +        if ( $host and ( length($hexstrip) < 8) ) {
    > +            $host = "Subnet: $host/". length($hexstrip)*4 

Das verstehe ich nicht. Warum eine while schleife ueber $n? Oder soll
das nur wie ein if $n > 0 funktionieren? IMO macht die schleife aber
bei jedem Durschlauf das gleich wenn $n > 1 ist.


    > -      $srcfile = "$pxedir/$srchost";
    > +      $srcfile = "$pxedir/$srchost.tmpl";
Verstehe ich auch nicht.


Die man page ist schon gepatched. Leider ist dein patch sehr gross das
macht es schwer alles einzubauen. Und mein urspruenglicher bug ist
damit noch nicht gefixt, aber ich habe dafuer jetzt einen patch.

-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to