From: Kern Sibbald Date: Fri, 10 Mar 2017 12:22:09 +0000 (+0100) Subject: Attempt to fix IPV6 not configured X-Git-Tag: Release-7.4.6~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd51dc9c094949e3ea012ff7913892943b4e99f0;p=bacula%2Fbacula Attempt to fix IPV6 not configured --- diff --git a/bacula/src/lib/bsock.c b/bacula/src/lib/bsock.c index 1a694cc231..e0bf32b35c 100644 --- a/bacula/src/lib/bsock.c +++ b/bacula/src/lib/bsock.c @@ -213,6 +213,16 @@ bool BSOCK::open(JCR *jcr, const char *name, char *host, char *service, * we don't support. Suppress the error and try the next address. */ break; +#endif +#ifdef EPROTONOSUPPORT + /* See above comments */ + case EPROTONOSUPPORT: + break; +#endif +#ifdef EPROTOTYPE + /* See above comments */ + case EPROTOTYPE: + break; #endif default: *fatal = 1;