From: Eric Bollengier Date: Wed, 4 Jan 2023 14:16:36 +0000 (+0100) Subject: Fix #9791 About incorrect connection message generated during a Virtual Full X-Git-Tag: Beta-15.0.0~294 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb3f7b03e4e55036b746c6651d515712e381f41d;p=thirdparty%2Fbacula.git Fix #9791 About incorrect connection message generated during a Virtual Full Issue introduced in 14.1 --- diff --git a/bacula/src/dird/vbackup.c b/bacula/src/dird/vbackup.c index a1606e85c..af254535a 100644 --- a/bacula/src/dird/vbackup.c +++ b/bacula/src/dird/vbackup.c @@ -346,9 +346,9 @@ _("This Job is not an Accurate backup so is not equivalent to a Full backup.\n") return false; } sd = jcr->store_bsock; - build_connecting_info_log(_("Storage"), jcr->store_mngr->get_rstore()->name(), - get_storage_address(jcr->client, jcr->store_mngr->get_rstore()), - jcr->store_mngr->get_rstore()->SDport, + build_connecting_info_log(_("Storage"), jcr->store_mngr->get_wstore()->name(), + get_storage_address(jcr->client, jcr->store_mngr->get_wstore()), + jcr->store_mngr->get_wstore()->SDport, sd->tls ? true : false, buf.addr()); Jmsg(jcr, M_INFO, 0, "%s", buf.c_str());