Parse listenaddr for hostnames
authorWouter Verhelst <w@uter.be>
Sat, 27 Feb 2010 21:29:50 +0000 (22:29 +0100)
committerWouter Verhelst <w@uter.be>
Sat, 27 Feb 2010 21:29:50 +0000 (22:29 +0100)
commitd3527d8b90dfca9f5e0195f8a152079e17042956
tree1c1b1f9ed3715892e909cd12f80d5a29a8bd2025
parent951a0d80569abc24f9cacd866d81ce397ee46c52
Parse listenaddr for hostnames

Previously, a listen address had to be specified by IP address;
hostnames where not supported. This patch should fix that. It is useful
for those who wish to use something like 'listenaddr = localhost',
though using the IP address is really recommended for most other
situations.
nbd-server.c