diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-14 11:12:07 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-14 14:46:01 +0100 |
commit | 7d67e8609471b6a5c9761a99301f368bd6747e13 (patch) | |
tree | 1425013d29db56847e4ca642018d2edde234afcb /python/vyos | |
parent | 007284ed9333ae65f7355ac49631965fef76a1db (diff) | |
download | vyos-1x-7d67e8609471b6a5c9761a99301f368bd6747e13.tar.gz vyos-1x-7d67e8609471b6a5c9761a99301f368bd6747e13.zip |
vyos.util: rename get_json_iface_options() -> get_interface_config()
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/util.py | 2 |
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. """ |