summaryrefslogtreecommitdiff
path: root/src/conf_mode/nat.py
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-03 13:09:26 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2023-09-04 12:36:11 +0200
commit2c88d01697eefbcd0188ec91dcbc589dee529db7 (patch)
tree860c01c8c6b8996086d19a1dc976900bc9e12bc5 /src/conf_mode/nat.py
parent02d1cf37ef1a49dd74555c808b1f33554341e5a3 (diff)
downloadvyos-1x-2c88d01697eefbcd0188ec91dcbc589dee529db7.tar.gz
vyos-1x-2c88d01697eefbcd0188ec91dcbc589dee529db7.zip
nat: T1877: Fix typo in nat ConfigError
Diffstat (limited to 'src/conf_mode/nat.py')
-rwxr-xr-xsrc/conf_mode/nat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/nat.py b/src/conf_mode/nat.py
index 9da7fbe80..08e96f10b 100755
--- a/src/conf_mode/nat.py
+++ b/src/conf_mode/nat.py
@@ -112,7 +112,7 @@ def verify_rule(config, err_msg, groups_dict):
group_obj = dict_search_args(groups_dict, group, group_name)
if group_obj is None:
- raise ConfigError(f'Invalid {error_group} "{group_name}" on firewall rule')
+ raise ConfigError(f'Invalid {error_group} "{group_name}" on nat rule')
if not group_obj:
Warning(f'{error_group} "{group_name}" has no members!')