summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/util.py b/python/vyos/util.py
index 5dff70b94..b5d81fba5 100644
--- a/python/vyos/util.py
+++ b/python/vyos/util.py
@@ -819,7 +819,7 @@ def sysctl_read(name):
tmp = cmd(f'sysctl {name}')
return tmp.split()[-1]
-def sysctl(name, value):
+def sysctl_write(name, value):
""" Change value via sysctl() - return True if changed, False otherwise """
tmp = cmd(f'sysctl {name}')
# last list index contains the actual value - only write if value differs