summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@sentrium.io>2019-10-31 05:52:32 +0700
committerGitHub <noreply@github.com>2019-10-31 05:52:32 +0700
commitc5aefce07b1f505a1796c440801459112ed734d1 (patch)
tree653dfac0d84e4f76948cd94dad10ec3898114370
parent4efcd7d44b2194eb36b381fd0ad639fd402c6c6d (diff)
parent7fc2a5c31f748bc821dd7d0c4856d707618e68c1 (diff)
downloadvyos-1x-c5aefce07b1f505a1796c440801459112ed734d1.tar.gz
vyos-1x-c5aefce07b1f505a1796c440801459112ed734d1.zip
Merge pull request #156 from kroy-the-rabbit/bridgefix
[conf completion]: T1779: Add tunnels to completion
-rwxr-xr-xsrc/completion/list_interfaces.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/completion/list_interfaces.py b/src/completion/list_interfaces.py
index 5e444ef78..84d17f89f 100755
--- a/src/completion/list_interfaces.py
+++ b/src/completion/list_interfaces.py
@@ -34,7 +34,8 @@ elif args.bridgeable:
openvpn = vyos.interfaces.list_interfaces_of_type("openvpn")
vxlan = vyos.interfaces.list_interfaces_of_type("vxlan")
wireless = vyos.interfaces.list_interfaces_of_type("wireless")
- interfaces = eth + bond + l2tpv3 + openvpn + vxlan + wireless
+ tunnel = vyos.interfaces.list_interfaces_of_type("tunnel")
+ interfaces = eth + bond + l2tpv3 + openvpn + vxlan + wireless + tunnel
elif args.bondable:
eth = vyos.interfaces.list_interfaces_of_type("ethernet")