summaryrefslogtreecommitdiff
path: root/src/conf_mode/https.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-09-04 18:15:27 +0200
committerDaniil Baturin <daniil@baturin.org>2019-09-04 18:40:16 +0200
commitb142ab9f5093e10915cba08852f75a94be0b9ee6 (patch)
treec73547b785682a136cfea7bc7aa0b312c0bebe58 /src/conf_mode/https.py
parent77e4de232feea979ce55abd60d7dc9352b5bfe86 (diff)
downloadvyos-1x-b142ab9f5093e10915cba08852f75a94be0b9ee6.tar.gz
vyos-1x-b142ab9f5093e10915cba08852f75a94be0b9ee6.zip
[service https] T1443: rename "server-names" option to "server-name".
Diffstat (limited to 'src/conf_mode/https.py')
-rwxr-xr-xsrc/conf_mode/https.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py
index 2e7aeb5a4..f948063e9 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -137,8 +137,8 @@ def get_config():
addrs = {}
for addr in conf.list_nodes('listen-address'):
addrs[addr] = ['_']
- if conf.exists('listen-address {0} server-names'.format(addr)):
- names = conf.return_values('listen-address {0} server-names'.format(addr))
+ if conf.exists('listen-address {0} server-name'.format(addr)):
+ names = conf.return_values('listen-address {0} server-name'.format(addr))
addrs[addr] = names[:]
https['listen_addresses'] = addrs