summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2023-12-08 09:25:29 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-08 19:15:54 +0000
commit015cea77e9ad4038fd7597cc1291bf64b1091645 (patch)
tree2602208ea74ee7858eb084bcb4104249d8c80fa9
parentf44cf2923bf12360e5665cb8d7391557241fba96 (diff)
downloadvyos-1x-015cea77e9ad4038fd7597cc1291bf64b1091645.tar.gz
vyos-1x-015cea77e9ad4038fd7597cc1291bf64b1091645.zip
op-cmd: T5802: bug fix for "ping x.x.x.x interface" completion options
(cherry picked from commit 020410a1e2009cb47d72bd18d360b9dc4b9c764f)
-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