diff options
| author | Corentin Chary <corentin.chary@gmail.com> | 2009-10-27 12:59:54 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-03 07:29:38 -0800 | 
| commit | 190cbd78add970655dbfe93182961745d16240e4 (patch) | |
| tree | 2151384fcbd5ff8424e802185a6ba7b19b8f0b63 /commit.sh | |
| parent | 05ba65c143ff35cf9a2bbd022711877efb8c67d4 (diff) | |
transport/name.c: refine the address resolution logic when listen-host is not specified.
- when listen-host is not specified and there are are no interfaces having
    adresses belonging to the address-family specified, listen at 0.0.0.0/::0.
  - this patch is necessary since with AI_ADDRCONFIG, getaddrinfo fails if there
    are no active interfaces for the address family specified and when
    listen-host is specified we still want the functionality provided with
    usage of AI_ADDRCONFIG.
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 339 (glusterfsd fails to start when there are no active interfaces having address in the address family configured.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=339
Diffstat (limited to 'commit.sh')
0 files changed, 0 insertions, 0 deletions
