summaryrefslogtreecommitdiff
path: root/src/completion
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-08 18:37:33 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-08 18:37:33 +0100
commit8abde544455dd158d080eb6ea7b7ed226b27965a (patch)
tree2259e5768e5c71fbf38efccea7e3f0d81d819074 /src/completion
parent37dcd23368de5872a5d56d356d29cafb1b185ce5 (diff)
parentcc2ea329b1bb2ac23ffcc64892e831e7978023e2 (diff)
downloadvyos-1x-8abde544455dd158d080eb6ea7b7ed226b27965a.tar.gz
vyos-1x-8abde544455dd158d080eb6ea7b7ed226b27965a.zip
Merge branch 'current' of github.com:vyos/vyos-1x into equuleus
* 'current' of github.com:vyos/vyos-1x: ddclient: T1789: fix RFC2136 generated config T1774: fix error output Python/ifconfig: T1557: do not allow both IPv4 and dhcp address on interfaces list_interfaces: add wifi interfaces to bridgeable interfaces
Diffstat (limited to 'src/completion')
-rwxr-xr-xsrc/completion/list_interfaces.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/completion/list_interfaces.py b/src/completion/list_interfaces.py
index 84d17f89f..47eeaf00c 100755
--- a/src/completion/list_interfaces.py
+++ b/src/completion/list_interfaces.py
@@ -16,7 +16,7 @@ args = parser.parse_args()
if args.type:
try:
interfaces = vyos.interfaces.list_interfaces_of_type(args.type)
-
+
except ValueError as e:
print(e, file=sys.stderr)
print("")
@@ -35,6 +35,8 @@ elif args.bridgeable:
vxlan = vyos.interfaces.list_interfaces_of_type("vxlan")
wireless = vyos.interfaces.list_interfaces_of_type("wireless")
tunnel = vyos.interfaces.list_interfaces_of_type("tunnel")
+ wireless = vyos.interfaces.list_interfaces_of_type("wireless")
+
interfaces = eth + bond + l2tpv3 + openvpn + vxlan + wireless + tunnel
elif args.bondable: