summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-14 11:12:07 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-14 14:46:01 +0100
commit7d67e8609471b6a5c9761a99301f368bd6747e13 (patch)
tree1425013d29db56847e4ca642018d2edde234afcb /python
parent007284ed9333ae65f7355ac49631965fef76a1db (diff)
downloadvyos-1x-7d67e8609471b6a5c9761a99301f368bd6747e13.tar.gz
vyos-1x-7d67e8609471b6a5c9761a99301f368bd6747e13.zip
vyos.util: rename get_json_iface_options() -> get_interface_config()
Diffstat (limited to 'python')
-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 837faa632..e4de56cdb 100644
--- a/python/vyos/util.py
+++ b/python/vyos/util.py
@@ -646,7 +646,7 @@ def dict_search(path, dict):
c = c.get(p, {})
return c.get(parts[-1], None)
-def get_json_iface_options(interface):
+def get_interface_config(interface):
""" Returns the used encapsulation protocol for given interface.
If interface does not exist, None is returned.
"""