Bug#382189: IPv6 support
authorNeutron Soutmun <neo.neutron@gmail.com>
Wed, 24 Mar 2010 05:25:59 +0000 (12:25 +0700)
committerWouter Verhelst <w@uter.be>
Wed, 24 Mar 2010 20:57:35 +0000 (21:57 +0100)
commit55bedbb8c068a7db9a4fbf96a622d8a9f7069529
tree4e10d8e8e395fb69aeeccb29148f3a4b537ed2eb
parent46232f088b9c8db343b7c0aa6adeb2d94e5464ea
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-----
nbd-client.c
nbd-server.c