summaryrefslogtreecommitdiff
path: root/src/helpers
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-07-26 14:02:47 +0300
committerDaniil Baturin <daniil@vyos.io>2020-07-26 14:03:53 +0300
commit920d87447ca479c311102260e5816ec0f5268a9b (patch)
treefdf6af4bd25f3936f797afc7ed48f66ab308ba15 /src/helpers
parenteb6bfbd75bf61828af886b3c9a06384e49b451ae (diff)
downloadvyos-1x-920d87447ca479c311102260e5816ec0f5268a9b.tar.gz
vyos-1x-920d87447ca479c311102260e5816ec0f5268a9b.zip
T1949: backport the IPv6 BFD validation improvements from PR#199
Diffstat (limited to 'src/helpers')
-rwxr-xr-xsrc/helpers/validate-value.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/validate-value.py b/src/helpers/validate-value.py
index 36f996d38..7e16cfb4e 100755
--- a/src/helpers/validate-value.py
+++ b/src/helpers/validate-value.py
@@ -28,7 +28,7 @@ except Exception as exn:
try:
for cmd in args.exec:
- cmd = "{0} {1}".format(cmd, args.value)
+ cmd = "{0} \'{1}\'".format(cmd, args.value)
if debug:
print(cmd)
res = os.system(cmd)