summaryrefslogtreecommitdiff
path: root/python/vyos/util.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-07 19:07:52 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-07 19:54:14 +0200
commit440a7a1c965be39ca0b13b4ea5985dd9c95fabef (patch)
treea56b48ba1c45911ae250d16c711761cbb0c97a9c /python/vyos/util.py
parent0f7e5371e702d4e2389f6fa6dfbda11bc9da6257 (diff)
downloadvyos-1x-440a7a1c965be39ca0b13b4ea5985dd9c95fabef.tar.gz
vyos-1x-440a7a1c965be39ca0b13b4ea5985dd9c95fabef.zip
ipv6: T4346: delete (migrate) CLI command to disable IPv6 address family
Diffstat (limited to 'python/vyos/util.py')
-rw-r--r--python/vyos/util.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/vyos/util.py b/python/vyos/util.py
index 0bf6b699e..de55e108b 100644
--- a/python/vyos/util.py
+++ b/python/vyos/util.py
@@ -1024,7 +1024,3 @@ def sysctl_write(name, value):
call(f'sysctl -wq {name}={value}')
return True
return False
-
-def is_ipv6_enabled() -> bool:
- """ Check if IPv6 support on the system is enabled or not """
- return (sysctl_read('net.ipv6.conf.all.disable_ipv6') == '0')