Bug#382189: IPv6 support
Package: nbd
Version: 2.9.14-3
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The latest patch to master branch of git repository is attached.
Please review the patch again.
It's also solved the #557810.
Add append_serve() more over the last patch to verify the parsing
listening address which now the parsing listening address could
be IPv4/IPv6 and also hostname. The service will resolve the hostname
and try to listening on all of them.
If the hostname/address could not solve, must show the error
getaddrinfo failed on listen host/address: testing (Name or service not known)
If parsing hostname,
It will listen on 127.0.0.1:12345
It will listen on ::1@12345
Regards,
Neutron Soutmun
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=th_TH.UTF-8, LC_CTYPE=th_TH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkupomIACgkQ1k7Ar9TO/TdLngCgvGp2oGKR0PLGmMFVTUkxh9yO
NrQAnR4FqtwoEuo/aZoEFhdhFI3mOVbU
=1UBe
-----END PGP SIGNATURE-----