Merge pull request #660 from thannaske/main
Do not execute iwgetid if the interface is recognized as tunnel
This commit is contained in:
commit
45d8ed23c9
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class Module(core.module.Module):
|
||||||
widget.set("state", state)
|
widget.set("state", state)
|
||||||
|
|
||||||
def get_ssid(self, intf):
|
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(
|
return util.cli.execute(
|
||||||
"{} -r {}".format(self.iwgetid, intf), ignore_errors=True
|
"{} -r {}".format(self.iwgetid, intf), ignore_errors=True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue