diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-06 20:00:58 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-12-06 20:01:38 +0100 |
commit | b6598b7f9f8c400b6c674a7220abb21f50737941 (patch) | |
tree | 8e67567a3a5b0d61584745fa1946f7f2bd02fcb5 /src/conf_mode | |
parent | ef2242e8e5c278c201ad825f4037668c86934443 (diff) | |
download | vyos-1x-b6598b7f9f8c400b6c674a7220abb21f50737941.tar.gz vyos-1x-b6598b7f9f8c400b6c674a7220abb21f50737941.zip |
bfd: T1183: use unified error style
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/protocols_bfd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/protocols_bfd.py b/src/conf_mode/protocols_bfd.py index caef61b3f..8593da170 100755 --- a/src/conf_mode/protocols_bfd.py +++ b/src/conf_mode/protocols_bfd.py @@ -78,11 +78,11 @@ def verify(bfd): # multihop and echo-mode cannot be used together if 'echo_mode' in peer_config: - raise ConfigError('Multihop and echo-mode cannot be used together') + raise ConfigError('BFD multihop and echo-mode cannot be used together') # multihop doesn't accept interface names if 'source' in peer_config and 'interface' in peer_config['source']: - raise ConfigError('Multihop and source interface cannot be used together') + raise ConfigError('BFD multihop and source interface cannot be used together') if 'profile' in peer_config: profile_name = peer_config['profile'] |