Your message dated Fri, 10 Nov 2006 18:07:46 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#397941: fixed in libnet-ip-perl 1.25-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libnet-ip-perl
Version: 1.25-1
Severity: normal
Tags: patch

Hi,

The 'ipcount' script (/usr/share/doc/libnet-ip-perl/examples/ipcount) is
really useful, but the -d option results in a fatal error :

$ ipcount -d 24 192.68.0.0/23
Invalid chars in IP 192.68.0.0+255 at /home/tom/bin/ipcount line 83.

The attached (very simple) patch fixes it :

$ ipcount2 -d 24 192.68.0.0/23
192.68.0/24
192.68.1/24

Found 2 /24s in 192.68.0/23

Regards,
Tom

-- 
Thomas Parmelan
--- ipcount     2006-08-05 02:03:14.000000000 +0200
+++ ipcount2    2006-11-10 15:06:08.000000000 +0100
@@ -80,7 +80,7 @@
        
        while ($current->bincomp ('lt', $last))
        {
-               $new_ip->set($current->last_ip.'+'.$size) or die (Error());
+               $new_ip->set($current->last_ip.' + '.$size) or die (Error());
                print $new_ip->print,"\n";
                
                if ($opts{r})
@@ -88,7 +88,7 @@
                        print $new_ip->reverse_ip,"\n";
                }
                
-               $current->set($new_ip->last_ip .'+ 1') or die (Error());
+               $current->set($new_ip->last_ip .' + 1') or die (Error());
                
                $count++;
        }

--- End Message ---
--- Begin Message ---
Source: libnet-ip-perl
Source-Version: 1.25-2

We believe that the bug you reported is fixed in the latest version of
libnet-ip-perl, which is due to be installed in the Debian FTP archive:

libnet-ip-perl_1.25-2.diff.gz
  to pool/main/libn/libnet-ip-perl/libnet-ip-perl_1.25-2.diff.gz
libnet-ip-perl_1.25-2.dsc
  to pool/main/libn/libnet-ip-perl/libnet-ip-perl_1.25-2.dsc
libnet-ip-perl_1.25-2_all.deb
  to pool/main/libn/libnet-ip-perl/libnet-ip-perl_1.25-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frederic Schutz <[EMAIL PROTECTED]> (supplier of updated libnet-ip-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 10 Nov 2006 20:20:26 +0100
Source: libnet-ip-perl
Binary: libnet-ip-perl
Architecture: source all
Version: 1.25-2
Distribution: unstable
Urgency: medium
Maintainer: Frederic Schutz <[EMAIL PROTECTED]>
Changed-By: Frederic Schutz <[EMAIL PROTECTED]>
Description: 
 libnet-ip-perl - Perl extension for manipulating IPv4/IPv6 addresses
Closes: 397941
Changes: 
 libnet-ip-perl (1.25-2) unstable; urgency=medium
 .
   * Correct a bug in the ipcount script which prevents the use
     of option -d; thanks to Thomas Parmelan for reporting the bug
     and providing a patch (Closes: Bug#397941)
   * Urgency medium to fix an annoying bug in time for Etch.
   * Upload sponsored thanks to Anibal Monsalve Salazar
Files: 
 9b206a8e309cd65cf31592fe10f54619 627 perl optional libnet-ip-perl_1.25-2.dsc
 0884768c646d598ec5c76dce898389ea 4520 perl optional 
libnet-ip-perl_1.25-2.diff.gz
 5338f5b9aa22d036e1b15e74e6327b70 30216 perl optional 
libnet-ip-perl_1.25-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFVROeipBneRiAKDwRApLtAJ43cvvrA7g9IPUtLAbBiX1wx6dMQgCfbbEs
WX8HBTAXGsVzxhRXQNyezME=
=Ck/h
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to