summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-08 20:15:28 +0100
committerGitHub <noreply@github.com>2023-12-08 20:15:28 +0100
commit520889c6e99b2ccbc5008e73769b953a45d43c57 (patch)
treebb44e1cb27008bdf2d5aae38e831f33dbf6b6d4e /python
parent030abbf48fd1399a30ed668f02e4ab02dbff0706 (diff)
parent020410a1e2009cb47d72bd18d360b9dc4b9c764f (diff)
downloadvyos-1x-520889c6e99b2ccbc5008e73769b953a45d43c57.tar.gz
vyos-1x-520889c6e99b2ccbc5008e73769b953a45d43c57.zip
Merge pull request #2594 from srividya0208/T5802
op-cmd: T5802: bug fix for "ping x.x.x.x interface" completion options
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 2a0808fca..f1b3bac73 100644
--- a/python/vyos/utils/network.py
+++ b/python/vyos/utils/network.py
@@ -201,6 +201,7 @@ def get_all_vrfs():
return data
def interface_list() -> list:
+ from vyos.ifconfig import Section
"""
Get list of interfaces in system
:rtype: list