Bug#275365: sdr fails with IPv6 support

2006-02-22 Thread Samuel Thibault
Forgot the patch, here it is. --- src/sd_listen.c.orig2000-09-04 18:30:39.0 +0200 +++ src/sd_listen.c 2006-02-22 09:39:06.0 +0100 @@ -1399,7 +1399,7 @@ char *argv[]; fprintf(stderr, "SDR: getaddrinfo failed, couldn't resolve '%s'!\n", hostname)

Bug#275365: sdr fails with IPv6 support

2006-02-22 Thread Samuel Thibault
tags 275365 + patch upstream thanks Hi, Here is a patch for correcting this: when IPv6 can be compiled but no ipv6 address is assigned to the host, hostaddr_v6 should just be set to zero, so that it won't be used for IP addresses trust. Please apply. BTW, using DNS lookup for determined our own