summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_ripng.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2026-06-17 14:21:35 +0300
committerGitHub <noreply@github.com>2026-06-17 14:21:35 +0300
commit7a1fa970b13c0006fa59ad9a46023b3e8037de6f (patch)
tree1e3b19c7162212f552b77297b03875d92daf33dd /src/conf_mode/protocols_ripng.py
parentc207f4a1ce9b13cd7e0664d35d805e633ebc69fb (diff)
parent040a4c0565081d0b6df2bf789737ed0e7bde2642 (diff)
downloadvyos-1x-7a1fa970b13c0006fa59ad9a46023b3e8037de6f.tar.gz
vyos-1x-7a1fa970b13c0006fa59ad9a46023b3e8037de6f.zip
Merge pull request #5277 from c-po/can-not-cannot
T8923: normalize "can not" to "cannot" and other typo fixes
Diffstat (limited to 'src/conf_mode/protocols_ripng.py')
-rwxr-xr-xsrc/conf_mode/protocols_ripng.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/protocols_ripng.py b/src/conf_mode/protocols_ripng.py
index e5babf2e8..5e7aba6b6 100755
--- a/src/conf_mode/protocols_ripng.py
+++ b/src/conf_mode/protocols_ripng.py
@@ -62,10 +62,10 @@ def verify(config_dict):
for interface, interface_options in ripng['interface'].items():
if 'authentication' in interface_options:
if {'md5', 'plaintext_password'} <= set(interface_options['authentication']):
- raise ConfigError('Can not use both md5 and plaintext-password at the same time!')
+ raise ConfigError('Cannot use both md5 and plaintext-password at the same time!')
if 'split_horizon' in interface_options:
if {'disable', 'poison_reverse'} <= set(interface_options['split_horizon']):
- raise ConfigError(f'You can not have "split-horizon poison-reverse" enabled ' \
+ raise ConfigError(f'You cannot have "split-horizon poison-reverse" enabled ' \
f'with "split-horizon disable" for "{interface}"!')
def generate(config_dict):