diff options
Diffstat (limited to 'migration/tls.c')
-rw-r--r-- | migration/tls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/migration/tls.c b/migration/tls.c index 4d2166a..acd38e0 100644 --- a/migration/tls.c +++ b/migration/tls.c @@ -22,6 +22,7 @@ #include "channel.h" #include "migration.h" #include "tls.h" +#include "options.h" #include "crypto/tlscreds.h" #include "qemu/error-report.h" #include "qapi/error.h" @@ -165,7 +166,7 @@ void migration_tls_channel_connect(MigrationState *s, bool migrate_channel_requires_tls_upgrade(QIOChannel *ioc) { - if (!migrate_use_tls()) { + if (!migrate_tls()) { return false; } |