Merge pull request #660 from thannaske/main

Do not execute iwgetid if the interface is recognized as tunnel
This commit is contained in:
tobi-wan-kenobi 2020-06-22 11:43:16 +02:00 committed by GitHub
commit 45d8ed23c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,7 @@ class Module(core.module.Module):
widget.set("state", state)
def get_ssid(self, intf):
if self._iswlan(intf) and self.iwgetid:
if self._iswlan(intf) and not self._istunnel(intf) and self.iwgetid:
return util.cli.execute(
"{} -r {}".format(self.iwgetid, intf), ignore_errors=True
)