diff options
author | Juan Quintela <quintela@redhat.com> | 2023-03-02 12:33:50 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-04-27 16:37:28 +0200 |
commit | 2eb0308bbd5e20bb20229c790dc2c7f1ae8e3ba9 (patch) | |
tree | 8a6b57654c91d3754901ff054580a3c336524f2d /migration/options.c | |
parent | d5c3e1959cbabe9456bf1d5860ad718c6cd27fb8 (diff) |
migration: Create migrate_tls_authz() function
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
---
Moved the type to const char * (vladimir)
Diffstat (limited to 'migration/options.c')
-rw-r--r-- | migration/options.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/migration/options.c b/migration/options.c index b5d4ebef8d..014aecc9ee 100644 --- a/migration/options.c +++ b/migration/options.c @@ -582,6 +582,13 @@ uint8_t migrate_throttle_trigger_threshold(void) return s->parameters.throttle_trigger_threshold; } +const char *migrate_tls_authz(void) +{ + MigrationState *s = migrate_get_current(); + + return s->parameters.tls_authz; +} + const char *migrate_tls_creds(void) { MigrationState *s = migrate_get_current(); |