summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-12-08 21:35:03 +0200
committerGitHub <noreply@github.com>2023-12-08 21:35:03 +0200
commit8ef7afb9a6f243bf956cce7ad09e3871e3861ef3 (patch)
tree2602208ea74ee7858eb084bcb4104249d8c80fa9 /python
parentf44cf2923bf12360e5665cb8d7391557241fba96 (diff)
parent015cea77e9ad4038fd7597cc1291bf64b1091645 (diff)
downloadvyos-1x-8ef7afb9a6f243bf956cce7ad09e3871e3861ef3.tar.gz
vyos-1x-8ef7afb9a6f243bf956cce7ad09e3871e3861ef3.zip
Merge pull request #2595 from vyos/mergify/bp/sagitta/pr-2594
op-cmd: T5802: bug fix for "ping x.x.x.x interface" completion options (backport #2594)
Diffstat (limited to 'python')
-rw-r--r--python/vyos/utils/network.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/utils/network.py b/python/vyos/utils/network.py
index 7a1eecdfb..c3c419a61 100644
--- a/python/vyos/utils/network.py
+++ b/python/vyos/utils/network.py
@@ -198,6 +198,7 @@ def get_all_vrfs():
return data
def interface_list() -> list:
+ from vyos.ifconfig import Section
"""
Get list of interfaces in system
:rtype: list