From: Alain Spineux Date: Thu, 12 May 2022 09:44:53 +0000 (+0200) Subject: Fix #9116: copy job missuses the client->FdStorageAddress directive X-Git-Tag: Release-13.0.0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdbefe63d3187f3484439389381e693e7b1343aa;p=thirdparty%2Fbacula.git Fix #9116: copy job missuses the client->FdStorageAddress directive - when specified the client->FdStorageAddress was used instead of the address of the SD --- diff --git a/bacula/src/dird/mac.c b/bacula/src/dird/mac.c index a192add43..bb63c1603 100644 --- a/bacula/src/dird/mac.c +++ b/bacula/src/dird/mac.c @@ -606,7 +606,7 @@ bool do_mac(JCR *jcr) if (store->SDDport == 0) { store->SDDport = store->SDport; } - store_address = get_storage_address(jcr->client, store); + store_address = get_storage_address(NULL, store); /* Ignore the client in a MAC */ store_port = store->SDDport; /* Start read message thread */