nic: fix syntax
This commit is contained in:
parent
8cc7c9de9b
commit
c3d4fce74c
1 changed files with 1 additions and 3 deletions
|
@ -91,9 +91,7 @@ class Module(core.module.Module):
|
|||
|
||||
def _iswlan(self, intf):
|
||||
# wifi, wlan, wlp, seems to work for me
|
||||
if intf.startswith("w") and not intf.startswith("wwan"):
|
||||
return True
|
||||
return False
|
||||
return intf.startswith("w") and not intf.startswith("wwan")
|
||||
|
||||
def _istunnel(self, intf):
|
||||
return intf.startswith("tun") or intf.startswith("wg")
|
||||
|
|
Loading…
Reference in a new issue