Do not execute iwgetid if the interface is recognized as tunnel
This commit is contained in:
parent
df9a1f9a4f
commit
3558176044
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