diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-07 19:05:00 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-07-07 19:05:00 +0200 |
commit | d0261c4daf31bd7fc05643e86660caee9f0442c5 (patch) | |
tree | d5e7c32ca4bfcfe73ca530b0c282ea1d39470fba /src/validators/ip-host | |
parent | 380a0d23cee65b6b71560763a34748cba71523e6 (diff) | |
download | vyos-1x-d0261c4daf31bd7fc05643e86660caee9f0442c5.tar.gz vyos-1x-d0261c4daf31bd7fc05643e86660caee9f0442c5.zip |
ssh: T2691: bugfix loglevel config migration
When migrating the conf from VyOS 1.2 to 1.3 a configuration error could appear
if the user specified "info" as loglevel instead of "INFO". There was no input
validation done in 1.2 but this is now enforced in 1.3.
In VyOS 1.3 loglevel will be always lowercase on the CLI and when migrating the
config this is transformed. Also VyOS 1.2 accpeted any arbitrary loglevel. If
an invalid loglevel is found it will be set to info.
Diffstat (limited to 'src/validators/ip-host')
0 files changed, 0 insertions, 0 deletions