summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode')
-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: