diff options
author | Christian Breunig <christian@breunig.cc> | 2024-10-05 20:34:43 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-10-06 14:56:55 +0000 |
commit | 34850de90c0fbc0c51ab7b4f4aeb0a87a73369ef (patch) | |
tree | d8c3d036edd681838c23517624b19dde3af6a9c4 /src | |
parent | 3e7cc03b4608196a0989e6af6ad65748b69f0672 (diff) | |
download | vyos-1x-mergify/bp/circinus/pr-4131.tar.gz vyos-1x-mergify/bp/circinus/pr-4131.zip |
static: T4283: fix missing f'ormat stringmergify/bp/circinus/pr-4131
This fixes the error message:
Can not use both blackhole and reject for prefix "{prefix}"!
Added in commit bb78f3a9ad28 ("static: T4283: support "reject" routes - emit an
ICMP unreachable when matched")
(cherry picked from commit 490ee3ec5ba7ea28002890841eab8e46f775a129)
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/protocols_static.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_static.py b/src/conf_mode/protocols_static.py index a2373218a..430cc69d4 100755 --- a/src/conf_mode/protocols_static.py +++ b/src/conf_mode/protocols_static.py @@ -88,7 +88,7 @@ def verify(static): if {'blackhole', 'reject'} <= set(prefix_options): raise ConfigError(f'Can not use both blackhole and reject for '\ - 'prefix "{prefix}"!') + f'prefix "{prefix}"!') return None |