summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-05-13 14:16:13 +0200
committerChristian Poessinger <christian@poessinger.com>2018-05-13 14:16:13 +0200
commit3249bc34e9897fbb6b7cfb83e655a5b7c9d9ddcf (patch)
tree22e267c7d4ca378f0185b831af597ff87807e0f9
parenta20634014490f2b3053f0b7176f98f39a4f72e9e (diff)
downloadvyos-1x-3249bc34e9897fbb6b7cfb83e655a5b7c9d9ddcf.tar.gz
vyos-1x-3249bc34e9897fbb6b7cfb83e655a5b7c9d9ddcf.zip
T631: small bugfix in config parsind for deny-users
-rwxr-xr-xsrc/conf-mode/vyos-config-ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf-mode/vyos-config-ssh.py b/src/conf-mode/vyos-config-ssh.py
index 6a520fc2c..1605dcd74 100755
--- a/src/conf-mode/vyos-config-ssh.py
+++ b/src/conf-mode/vyos-config-ssh.py
@@ -179,7 +179,7 @@ def get_config():
ssh.setdefault('allow_groups', groups)
- if conf.exists('access-control deny-groups'):
+ if conf.exists('access-control deny-users'):
# Retrieve ',' separated list for denied users and convert it to a list.
# The current VyOS CLI implementation should be improved to rather use multi nodes
# instead of a ',' separated input.