diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-13 22:35:38 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-13 22:35:38 +0200 |
commit | 89a097ea0ad9724210091e299a6cab1bf132019e (patch) | |
tree | 7f5425211d8ddd84476dfbb044f01b22ed60ef28 /src | |
parent | 3b8c45989e8fee5ec445ac8c8335a4de43ec9e81 (diff) | |
download | vyos-1x-89a097ea0ad9724210091e299a6cab1bf132019e.tar.gz vyos-1x-89a097ea0ad9724210091e299a6cab1bf132019e.zip |
ssh: T2321: fix invalid string/list assignment of default port
Commit 5deb12c509be ("ssh: T2321: add VRF support") restructured the Port
assignment (cleanup from the early days) but it accesses a string with methods
used for a list, resulting in the funny default port 2.
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/ssh.py b/src/conf_mode/ssh.py index 5a0ae059b..ef70de7be 100755 --- a/src/conf_mode/ssh.py +++ b/src/conf_mode/ssh.py @@ -31,7 +31,7 @@ config_file = r'/etc/ssh/sshd_config' systemd_override = r'/etc/systemd/system/ssh.service.d/override.conf' default_config_data = { - 'port' : '22', + 'port' : ['22'], 'log_level': 'INFO', 'password_authentication': 'yes', 'host_validation': 'yes', |