summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-24 16:44:23 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-24 16:44:23 +0200
commitb2e5f8adefd4ed9e53e14a4618fb63b3821d1d20 (patch)
tree0fc228758ec0b71291fc2a709d0a7393e7cc5fc6 /src/op_mode
parentad2693f8d9662cff90673f9bc71ba21cbbda5b18 (diff)
downloadvyos-1x-b2e5f8adefd4ed9e53e14a4618fb63b3821d1d20.tar.gz
vyos-1x-b2e5f8adefd4ed9e53e14a4618fb63b3821d1d20.zip
op-mode: T2223: drop dead code "get_vrrp_intf()"
Diffstat (limited to 'src/op_mode')
-rwxr-xr-xsrc/op_mode/show_interfaces.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/op_mode/show_interfaces.py b/src/op_mode/show_interfaces.py
index 20d5d9e17..241fba4f4 100755
--- a/src/op_mode/show_interfaces.py
+++ b/src/op_mode/show_interfaces.py
@@ -120,10 +120,6 @@ def split_text(text, used=0):
yield line[1:]
-def get_vrrp_intf():
- return [intf for intf in Section.interfaces() if intf.is_vrrp()]
-
-
def get_counter_val(clear, now):
"""
attempt to correct a counter if it wrapped, copied from perl