From dd51dc9c094949e3ea012ff7913892943b4e99f0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 10 Mar 2017 13:22:09 +0100 Subject: [PATCH] Attempt to fix IPV6 not configured --- bacula/src/lib/bsock.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; -- 2.39.5