summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2021-05-20 23:01:30 +0300
committerGitHub <noreply@github.com>2021-05-20 22:01:30 +0200
commit8fdebbe140bdd92d3c3086ac90a3f869f740b74d (patch)
treec070d5eba75806d5643a4204b305eb31ffffb589 /python
parent9197a409876f9943032ac19834b5f04bdac6e00a (diff)
downloadvyos-1x-8fdebbe140bdd92d3c3086ac90a3f869f740b74d.tar.gz
vyos-1x-8fdebbe140bdd92d3c3086ac90a3f869f740b74d.zip
vyos.util: T3532: Replace func get_interface_config
Replace function get_interface_config to function get_interface_config, as we have in 1.4 branch. It need after this cherry-picked commit edcdea8
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 f9b10c57f..c1644247f 100644
--- a/python/vyos/util.py
+++ b/python/vyos/util.py
@@ -651,7 +651,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.
"""