Package: ipcalc Version: 0.41-4 Severity: normal Tags: ipv6 Dear Maintainer, The ipcalc tool included in Debian works fine for IPv4 addresses but has no support whatsoever for IPv6 addresses. The output of: $ ipcalc ::1 INVALID ADDRESS: ::1
Address: 192.168.1.1 11000000.10101000.00000001. 00000001 Netmask: 255.255.255.0 = 24 11111111.11111111.11111111. 00000000 Wildcard: 0.0.0.255 00000000.00000000.00000000. 11111111 => Network: 192.168.1.0/24 11000000.10101000.00000001. 00000000 HostMin: 192.168.1.1 11000000.10101000.00000001. 00000001 HostMax: 192.168.1.254 11000000.10101000.00000001. 11111110 Broadcast: 192.168.1.255 11000000.10101000.00000001. 11111111 Hosts/Net: 254 Which doesn't correspond to reality. This was also the case with Fedora's ipcalc tool [0] and we updated it to [1] which does support IPv6 and has output which resembles Debian's ipcalc. [0]. https://bugzilla.redhat.com/show_bug.cgi?id=1220391 [1]. https://github.com/nmav/ipcalc -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ipcalc depends on: ii perl 5.20.2-6 ipcalc recommends no packages. ipcalc suggests no packages. -- no debconf information