diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-11-04 18:30:32 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-11-04 18:31:01 +0100 |
commit | 1964144258b3bfd0bf2afac07fef26d535b95eba (patch) | |
tree | dd5fae0de606c661f74e9bfea4734353b7b8a4aa /src/completion | |
parent | 99c762ebbbb30a638760627bc6d5fd86932951e1 (diff) | |
download | vyos-1x-1964144258b3bfd0bf2afac07fef26d535b95eba.tar.gz vyos-1x-1964144258b3bfd0bf2afac07fef26d535b95eba.zip |
list_interfaces: add wifi interfaces to bridgeable interfaces
Diffstat (limited to 'src/completion')
-rwxr-xr-x | src/completion/list_interfaces.py | 4 |
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: |