summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-04 11:38:19 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-04 11:43:44 +0200
commit537cd313d0076008e66fde728576ad328bfc0dcc (patch)
tree9134ef732d375079b21d15ba3af73fcd456fb050 /src
parent027b48f1c87c1992e360a5c933df859a4067c4b4 (diff)
downloadvyos-1x-537cd313d0076008e66fde728576ad328bfc0dcc.tar.gz
vyos-1x-537cd313d0076008e66fde728576ad328bfc0dcc.zip
op-mode: import cleanup in "show interfaces" script
(cherry picked from commit 5bde11aceffd3d7fca99e582b16555fc0c584410)
Diffstat (limited to 'src')
-rwxr-xr-xsrc/op_mode/show_interfaces.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/op_mode/show_interfaces.py b/src/op_mode/show_interfaces.py
index 79bb8e2a6..bfb5d68a2 100755
--- a/src/op_mode/show_interfaces.py
+++ b/src/op_mode/show_interfaces.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
-# Copyright 2017, 2019 VyOS maintainers and contributors <maintainers@vyos.io>
+# Copyright 2017-2021 VyOS maintainers and contributors <maintainers@vyos.io>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -19,9 +19,7 @@ import os
import re
import sys
import glob
-import datetime
import argparse
-import netifaces
from vyos.ifconfig import Section
from vyos.ifconfig import Interface