summaryrefslogtreecommitdiff
path: root/python/vyos/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/util.py')
-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 da39ee8d1..f46775490 100644
--- a/python/vyos/util.py
+++ b/python/vyos/util.py
@@ -1011,7 +1011,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