diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-06-10 20:00:04 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-06-10 20:00:04 +0200 |
commit | 884cd2519515d60a7bc3c9d230fd471735f8a15c (patch) | |
tree | e10bdae8164abf8a98d17269a833ac72fc2e6dd8 /src/conf_mode/protocols_nhrp.py | |
parent | 1341980cb39e453b4b74f0a46da93db142459fca (diff) | |
download | vyos-1x-884cd2519515d60a7bc3c9d230fd471735f8a15c.tar.gz vyos-1x-884cd2519515d60a7bc3c9d230fd471735f8a15c.zip |
Revert "dmvpn: nhrp: T4434: secret length can not exceed 8 characters"
This reverts commit 6f818ee9033ee3abeedbed73eb44331dc27e7408.
Diffstat (limited to 'src/conf_mode/protocols_nhrp.py')
-rwxr-xr-x | src/conf_mode/protocols_nhrp.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/conf_mode/protocols_nhrp.py b/src/conf_mode/protocols_nhrp.py index 56939955d..b247ce2ab 100755 --- a/src/conf_mode/protocols_nhrp.py +++ b/src/conf_mode/protocols_nhrp.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2021-2022 VyOS maintainers and contributors +# Copyright (C) 2021 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -81,11 +81,6 @@ def verify(nhrp): for map_name, map_conf in nhrp_conf['dynamic_map'].items(): if 'nbma_domain_name' not in map_conf: raise ConfigError(f'nbma-domain-name missing on dynamic-map {map_name} on tunnel {name}') - - if 'cisco_authentication' in nhrp_conf: - if len(nhrp_conf['cisco_authentication']) > 8: - raise ConfigError('Maximum length of the secret is 8 characters!') - return None def generate(nhrp): |