Detect wireguard interfaces as tunnel type

This commit is contained in:
Pavle Portic 2019-04-14 00:46:40 +02:00
parent b4a66fd8be
commit 579239292b
No known key found for this signature in database
GPG key ID: 6758ACE46AA2A849

View file

@ -63,7 +63,7 @@ class Module(bumblebee.engine.Module):
return False return False
def _istunnel(self, intf): def _istunnel(self, intf):
return intf.startswith("tun") return intf.startswith("tun") or intf.startswith("wg")
def get_addresses(self, intf): def get_addresses(self, intf):
retval = [] retval = []