From 77e4de232feea979ce55abd60d7dc9352b5bfe86 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 4 Sep 2019 17:46:40 +0200 Subject: [service https] T1443: correct the listen-address option in the script. --- src/conf_mode/https.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/conf_mode/https.py') diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py index d5aa1f5b3..2e7aeb5a4 100755 --- a/src/conf_mode/https.py +++ b/src/conf_mode/https.py @@ -133,12 +133,12 @@ def get_config(): else: conf.set_level('service https') - if conf.exists('listen-addresses'): + if conf.exists('listen-address'): addrs = {} - for addr in conf.list_nodes('listen-addresses'): + for addr in conf.list_nodes('listen-address'): addrs[addr] = ['_'] - if conf.exists('listen-addresses {0} server-names'.format(addr)): - names = conf.return_values('listen-addresses {0} server-names'.format(addr)) + if conf.exists('listen-address {0} server-names'.format(addr)): + names = conf.return_values('listen-address {0} server-names'.format(addr)) addrs[addr] = names[:] https['listen_addresses'] = addrs -- cgit v1.2.3