Detect wireguard interfaces as tunnel type
This commit is contained in:
parent
b4a66fd8be
commit
579239292b
1 changed files with 4 additions and 4 deletions
|
@ -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 = []
|
||||||
|
|
Loading…
Reference in a new issue