summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_mpls.py
diff options
context:
space:
mode:
authorCheeze-It <kris4067195@hotmail.com>2020-11-23 13:59:33 -0700
committerGitHub <noreply@github.com>2020-11-23 21:59:33 +0100
commitcf36b7ab1e1eb9d91b0877b55115d9a6ad2f196c (patch)
treec4c0937a30766afb378417900b7ddf5a00710d85 /src/conf_mode/protocols_mpls.py
parenta223e169b0994841e482fa2645047c6fc2d82238 (diff)
downloadvyos-1x-cf36b7ab1e1eb9d91b0877b55115d9a6ad2f196c.tar.gz
vyos-1x-cf36b7ab1e1eb9d91b0877b55115d9a6ad2f196c.zip
mpls-conf: T915: fix Python format string after refactoring
Diffstat (limited to 'src/conf_mode/protocols_mpls.py')
-rwxr-xr-xsrc/conf_mode/protocols_mpls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_mpls.py b/src/conf_mode/protocols_mpls.py
index 7541750ee..da298325c 100755
--- a/src/conf_mode/protocols_mpls.py
+++ b/src/conf_mode/protocols_mpls.py
@@ -100,7 +100,7 @@ def apply(mpls):
labels = '0'
if 'interface' in mpls:
labels = '1048575'
- call('sysctl -wq net.mpls.platform_labels={labels}')
+ call(f'sysctl -wq net.mpls.platform_labels={labels}')
# Check for changes in global MPLS options
if 'parameters' in mpls: