Merge pull request #376 from TheEdgeOfRage/master

Detect wireguard interfaces as tunnel type
This commit is contained in:
tobi-wan-kenobi 2019-04-14 14:47:03 +02:00 committed by GitHub
commit 62d34395c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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