diff options
author | Christian Breunig <christian@breunig.cc> | 2024-10-05 20:34:43 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-10-05 20:34:43 +0200 |
commit | 490ee3ec5ba7ea28002890841eab8e46f775a129 (patch) | |
tree | 0d3a4043ff74aee7aed57d8d32a172f3b24cd746 /src | |
parent | 5a59d8529c56f844c6dc62ffa6377280f01bcec1 (diff) | |
download | vyos-1x-490ee3ec5ba7ea28002890841eab8e46f775a129.tar.gz vyos-1x-490ee3ec5ba7ea28002890841eab8e46f775a129.zip |
static: T4283: fix missing f'ormat string
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")
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 |