summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-06 20:00:58 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-06 20:01:38 +0100
commitb6598b7f9f8c400b6c674a7220abb21f50737941 (patch)
tree8e67567a3a5b0d61584745fa1946f7f2bd02fcb5 /src/conf_mode
parentef2242e8e5c278c201ad825f4037668c86934443 (diff)
downloadvyos-1x-b6598b7f9f8c400b6c674a7220abb21f50737941.tar.gz
vyos-1x-b6598b7f9f8c400b6c674a7220abb21f50737941.zip
bfd: T1183: use unified error style
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/protocols_bfd.py4
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']