]> xenbits.xensource.com Git - libvirt.git/commitdiff
remote: fix registration of TLS socket
authorMichael Chapman <mike@very.puzzling.org>
Tue, 17 Sep 2019 07:03:57 +0000 (17:03 +1000)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 17 Sep 2019 09:35:53 +0000 (10:35 +0100)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Michael Chapman <mike@very.puzzling.org>
src/remote/remote_daemon.c

index 966f3da2d062d2594e659e83f316e1294757807f..7195ac9218406610445db5da4c614cf3c81eaeea 100644 (file)
@@ -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 ||