From: Michael Chapman Date: Tue, 17 Sep 2019 07:03:57 +0000 (+1000) Subject: remote: fix registration of TLS socket X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=522b3d2b24d0f7ac78dad442c990d4e34db0eaf2;p=libvirt.git remote: fix registration of TLS socket Reviewed-by: Daniel P. Berrangé Signed-off-by: Michael Chapman --- diff --git a/src/remote/remote_daemon.c b/src/remote/remote_daemon.c index 966f3da2d0..7195ac9218 100644 --- a/src/remote/remote_daemon.c +++ b/src/remote/remote_daemon.c @@ -505,7 +505,7 @@ daemonSetupNetworking(virNetServerPtr srv, config->max_client_requests) < 0) goto cleanup; - if (((ipsock && config->listen_tls) || (act && virSystemdActivationHasName(act, "ip-tls")))) { + if (((ipsock && config->listen_tls) || (act && virSystemdActivationHasName(act, DAEMON_NAME "-tls.socket")))) { virNetTLSContextPtr ctxt = NULL; if (config->ca_file ||