diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-22 11:39:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 11:39:07 +0100 |
commit | 31ca9c71fc09751b1114d104a8e09581f15c51d5 (patch) | |
tree | ab874265c0a0dd867644a6ea737a3f35cd510918 | |
parent | e98ad8cfdbc4bee608f668bf121085674971caf7 (diff) | |
parent | 05e00b986a563681b038b226c86c83a29d6da820 (diff) | |
download | vyos-1x-31ca9c71fc09751b1114d104a8e09581f15c51d5.tar.gz vyos-1x-31ca9c71fc09751b1114d104a8e09581f15c51d5.zip |
Merge pull request #1905 from nicolas-fort/T5105
T5105: dhcp-server: Fix error message from dhcp-server
-rwxr-xr-x | src/conf_mode/dhcp_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dhcp_server.py b/src/conf_mode/dhcp_server.py index 39c87478f..2b2af252d 100755 --- a/src/conf_mode/dhcp_server.py +++ b/src/conf_mode/dhcp_server.py @@ -247,7 +247,7 @@ def verify(dhcp): net2 = ip_network(n) if (net != net2): if net.overlaps(net2): - raise ConfigError('Conflicting subnet ranges: "{net}" overlaps "{net2}"!') + raise ConfigError(f'Conflicting subnet ranges: "{net}" overlaps "{net2}"!') # Prevent 'disable' for shared-network if only one network is configured if (shared_networks - disabled_shared_networks) < 1: |