summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Breunig <christian@vyos.io>2025-09-18 16:27:22 +0200
committerGitHub <noreply@github.com>2025-09-18 16:27:22 +0200
commitb4d6e2cc841b1f88c1545ea288be0437ac4edd2e (patch)
tree80c732d9816f310537346869707cd83f1522c7c6 /src/op_mode
parent05b826ae7294e48f4483d9586f8f12a72c97347c (diff)
parent2f188ad3866ad8f8d73f4a8e418783cc420ba482 (diff)
downloadvyos-1x-b4d6e2cc841b1f88c1545ea288be0437ac4edd2e.tar.gz
vyos-1x-b4d6e2cc841b1f88c1545ea288be0437ac4edd2e.zip
op-mode: T7746: Fix 'show interfaces' description wrapping (#4725)
- Fixed incorrect wrapping of 'show interfaces' description
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/interfaces.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/op_mode/interfaces.py b/src/op_mode/interfaces.py
index 2e0be90e7..ed36731e3 100755
--- a/src/op_mode/interfaces.py
+++ b/src/op_mode/interfaces.py
@@ -126,6 +126,7 @@ def _split_text(text, used=0):
continue
if line:
yield line[1:]
+ line = f' {word}'
else:
line = f'{line} {word}'